Comment by franciscop
20 hours ago
I just wrapped up https://llmrender.com/, a tiny (10kb) Markdown to React renderer works with all of the Markdown + LaTeX math you'd normally expect in a normal project.
I made it because doing one of the mainstream Markdown renderers + Katex (LaTeX) + Prism.js (syntax highlight) adds 300kb of gzipped JS to the frontend projects, so with this you can have it all for just 10kb. It also works well with streaming/does stable partial rendering.
It supports features usually reserved for LLM chatbots, but also for normal everyday Markdown, so feel free to use it or give feedback!
No comments yet
Contribute on Hacker News ↗