Wandmalfarbe / pandoc-latex-template

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

Display error after level 4 headings #332

Closed RonnyFiebigDVTS closed 1 year ago

RonnyFiebigDVTS commented 1 year ago

I noticed that after exporting PDF from Markdown to PDF with the Latex template, I always have display errors for all objects after a Level 4 heading. Especially nice to see is that with code blocks, but also simple text is displayed incorrectly after a level 4 heading.

Output in PDF: image

Same Section in Markdown: image

Other example: image

Wandmalfarbe commented 1 year ago

Headings with level 5 or above are displayed as run-in when using latex. Please have a look at block-headings: true to format, these headings as block level headings.