Markdown to PDF - preserve tables cleanly
A Markdown table is the difference between a screenshot of a CSV and a deliverable. The converter takes the table syntax seriously: column alignment, totals rows, and four visual presets per table.
What survives the conversion
- Header row - bold by default, with a rule below.
- Column alignment - `:---:` (centered), `---:` (right). Numeric columns auto-right-align even without explicit alignment.
- Cell content - bold, italic, links, inline code all render correctly inside cells.
- Long cells - wrap automatically.
- Page-spanning tables - the header repeats on the next page.
Four built-in table styles
- **Minimal** - single rule above and below, single rule under the header. The default.
- **Corporate** - Minimal plus a tinted header row.
- **Striped** - alternating row tints.
- **Bordered** - a full hairline grid; best for invoices and dense numeric data.
Totals rows
When the last row of a table is a Total row, toggle 'Bold last row' for that table in the sidebar. The renderer adds a thin rule above the row and renders the cells in bold - the standard pricing-sheet treatment.
FAQ
Can I merge cells in a Markdown table?
Standard Markdown does not support cell merges. We do not extend the syntax. If you need merged cells, the document is asking to be a Word file - export to DOCX and merge there.
How are very wide tables handled?
Tables fill the content column. If the columns can't fit, the cell content wraps. The renderer does not auto-rotate to landscape - choose landscape orientation manually if your tables need it.
Why is my numeric column left-aligned?
Auto-right-align kicks in when at least 60% of the body cells parse as numeric. If your numbers have inconsistent formatting (mixed currencies, mixed thousand separators), the parser may classify them as text. Pick one format and stick with it.
Related
https://md2document.com/markdown-to-pdf-preserve-tables/