News for hackers. Stuff that matters.
Re:Show HN: Markdown Viewer with LaTeX Math Support and Expo... by Rochus on Sunday January 25, 2026 @09:07AM (#46754187)
Cool. How do you have implemented the latex rendering? Are you using one of the common libraries? Is the rendering (incl. PDF etc.) directly running in the browser, or on the server?
Re:Show HN: Markdown Viewer with LaTeX Math Support and Expo... by LuckyBuddy on Sunday January 25, 2026 @11:56AM (#46755721)
Thanks for your reply.

I'm using MathJax (mathjax-full) to render LaTeX. For browser preview, it converts LaTeX to SVG on the client side.

For PDF export, the rendered HTML (with SVG math) is sent to the server where Puppeteer generates the PDF.

Re:Show HN: Markdown Viewer with LaTeX Math Support and Expo... by Rochus on Sunday January 25, 2026 @12:03PM (#46755783)
Interesting, thanks. So you need a Node based server to run it.
Re:Show HN: Markdown Viewer with LaTeX Math Support and Expo... by LuckyBuddy on Sunday January 25, 2026 @09:33PM (#46761192)
The main technology stack is Next.js.