Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.09k stars 959 forks source link

code block background and line numbers not showing up #245

Closed jvsteiner closed 3 years ago

jvsteiner commented 3 years ago

for some reason, my code blocks do not look like those in the sample file, specifically, they do not have the shaded background or line numbers. In the sample, it looks like this:

image

in mine it looks like:

image

any ideas?

jvsteiner commented 3 years ago

I worked out that I needed to pass the --listings parameter to pandoc, which is well documented.