pandoc-latex-template
pandoc-latex-template copied to clipboard
Codeblock formatting inside the environments is NOT supported.
This is a minor problem. We are not directly concerned about it. I am simply reporting it in case it may help other people...
In the example file here :
https://github.com/Wandmalfarbe/pandoc-latex-template/blame/master/examples/boxes-with-pandoc-latex-environment-and-awesomebox/document.md
The line 114 says
Markdown formatting inside the environments is supported.
This is partially true because the codeblock are breaking the latex output
$ pandoc document.md --listings --filter pandoc-latex-environment --from markdown --template=eisvogel -o document.pdf
Error producing PDF.
! Paragraph ended before \lst@next was complete.
<to be read again>
\par
l.537 \end{importantblock}
If I remove the backticks (line 119 and 123), the pdf is compiled with no issue.
Thanks for this great template !
It seems that tables are also not supported
That's interesting because I compile this file regularly with no issues. The generated example PDF looks fine https://github.com/Wandmalfarbe/pandoc-latex-template/blob/master/examples/boxes-with-pandoc-latex-environment-and-awesomebox/document.pdf. Maybe it depends on your TeX distribution and installed packages?