A long Markdown file on the left, a PDF with a clickable bookmark outline on the right

A Big Markdown File Should Become a PDF You Can Navigate

Update (July 2026). The first version of this post told one story — headings become a PDF bookmark outline. That’s still the heart of it, but the library grew a whole navigation layer since, and it just shipped to Maven Central as io.github.demchaav:graph-compose-markdown:0.3.0. So here’s the fuller picture: the outline, plus working [text](#heading) jumps, an auto-generated [TOC], a page-numbered book-style contents, and bidirectional footnotes — all the same idea applied five times. ...

4 July 2026 · 9 min · Artem Demchyshyn