What is the Problem?
When i use include in a listing and convert the markdown to a pdf, the listing only has the listing style from pandoc-crossref, but it's empty:
When i don't add #lst:example in the curly braces the style is missing, but is contains the code from the file:
What has changed?
I am using pandoc to convert my markdown files to a pdf. Until yesterday i have used old versions of pandoc but updated them now. Now pandoc-include-code doesn't work anymore.
This is an old example:
I solved it by switching the filters order:
pandoc example.md --pdf-engine=latexmk --filter pandoc-include-code --filter pandoc-crossref -o example.pdf
What is the Problem? When i use include in a listing and convert the markdown to a pdf, the listing only has the listing style from pandoc-crossref, but it's empty:
When i don't add
#lst:example
in the curly braces the style is missing, but is contains the code from the file:What has changed? I am using pandoc to convert my markdown files to a pdf. Until yesterday i have used old versions of pandoc but updated them now. Now pandoc-include-code doesn't work anymore. This is an old example:
Minimum example: example.md:
example.py:
build:
$ pandoc example.md --pdf-engine=latexmk --filter pandoc-crossref --filter pandoc-include-code -o example.pdf
Versions: