Ask HN: Where are the good Markdown to PDF tools (that meet these requirements)?

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

https://news.ycombinator.com/item?id=43231964

Vytvořeno 15h | 2. 3. 2025 18:10:08


Chcete-li přidat komentář, přihlaste se