I'm trying to convert a very large Markdown file (a couple hundred pages) to PDF.
It contains lots of code in code blocks and has a table of contents at the start with internal links to later pages.
I've tried lots of different Markdown-PDF converters like md2pdf and Pandoc, even trying converting it through LaTeX first, however none of them produce working internal PDF links, have effective syntax highlighting for HTML, CSS, JavaScript and Python, and wrap code to fit it on the page.
I have a very long regular expression (email validation of course) that doesn't fit on one line but no solutions I have found properly break the lines on page overflow.
What tools does everyone recommend?
Comments URL: https://news.ycombinator.com/item?id=43231964
Points: 16
# Comments: 19
Melden Sie sich an, um einen Kommentar hinzuzufügen
Andere Beiträge in dieser Gruppe

Article URL: https://habr.com/en/articles/942516/
Comments URL: https://news.ycomb

Article URL: https://www.alphaxiv.org/abs/2508.21038v1
Comments URL: https://
Article URL: https://gleamgathering.com/
Comments URL: https://news.ycombinator.com/item?id

Article URL: https://arxiv.org/abs/2507.19703
Comments URL: https://news.ycombinator.c

Article URL: https://zed.dev/blog/claude-code-via-acp
Comments URL: https://ne