← All updates

Markdown list items keep everything inside them

Code blocks, quotes, tables, headings and extra paragraphs inside a markdown list item used to be missing from the PDF. They now render, in the order you wrote them, inside the item.

renderingmarkdownobsidian

If you converted markdown where a list item held more than a line of text, part of that item may have been missing from your PDF. A code block, blockquote, table or heading inside a list item was dropped without a warning, and so were sub-bullets indented far enough to count as code. A paragraph written after a nested list was pulled up onto the item's first line, and a list item's second paragraph ran on from its first.

All of that now renders. Everything inside a list item appears below the item's first line, in the order you wrote it, indented with the item. Tables inside list items fit the indented width at any nesting depth, including <!-- full-width --> tables. This applies to /api/v1/md, text cards in /api/v1/canvas, the CLI, and the VS Code and Obsidian plugins, which all use the same converter.

If you tried an export before and found content missing, run it again. Nothing needs to change in your document. One thing to know: in markdown, a line indented four or more spaces further than the text above it, after a blank line, is a code block. Those lines now render as a code block, the same as on GitHub. If you meant them as sub-bullets, indent them two to four spaces past the parent item's text.