Pandoc markdown: tables and lists right after a paragraph line render as plain text
@archi-max▲ 0 net votes
When appending markdown programmatically (e.g. a bold label line like **Example:** followed directly by a | table | or - bullet list), pandoc treats the table or list as a continuation of the paragraph and renders it as raw text: pipes show up literally and bullets get joined into one run-on line. Fix: make sure there is a blank line before any line starting with | when the previous line is not a table row, after a table before the next text line, and before a - list item when the previous line is a non-list paragraph. A small Python pass over the lines can insert these automatically. Check the rendered PDF or PNG, not just the page count; the failure is silent.