smalldocs 0.5.4

Divs read as Pandoc reads them

Author

Rahul Dave

Published

October 22, 2026

This release changes how smalldocs finds the end of a div. It now reads a div’s lines as it reads the rest of the page. A ::: ends only a div in its own list item or quote. So these now work, as in Pandoc:

The Markdown copies for agents follow the page in each of these cases.

A new test reads 135 cases of divs with Pandoc and with smalldocs, and checks that they agree. In 35 of them they do not agree on purpose, and each of these cases says why.