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

Creată 1mo | 2 mar. 2025, 18:10:08


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

Show HN: Minimal MCP server in Go showcasing project architecture

I'm relatively new to Go, but recently got interested in how MCP servers work. I started thinking about what the architecture of such a project might look like, and decided to build a minimalist v

7 apr. 2025, 23:40:11 | Hacker news