Nigeria No1. Music site And Complete Entertainment portal for Music Promotion WhatsApp:- +2349077287056
Friday, 12 June 2026
Show HN: LLMRender, a 10kb Markdown+LaTeX renderer for React https://bit.ly/4xx2E4u
Show HN: LLMRender, a 10kb Markdown+LaTeX renderer for React I've been using the popular React Markdown renderers with Katex and Prism.js for rendering my Markdown and LaTeX, but was tired of having to bundle 300kb+ of min+gzip JS only for this (1.2MB+ of plain JS!). So I created a small Markdown renderer that does it all in a tiny package. I added a small playground to the homepage, please feel free to try it and let me know what you think! It's not perfect, it's definitely not "correct" in that I'm using Regex internally instead of a proper AST parser, but for my usecase and the majority of Markdown out there, this works perfectly fine (cue the StackOverflow post [1]). It's also conservative for this reason; no HTML by default, parsing wrong content produces escaped HTML entities instead of XSS. [1] https://bit.ly/4xrJ1dY https://bit.ly/4eGTRFm June 13, 2026 at 05:11AM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment