Hi everyone,
I'm excited to announce TreeBlood, the world's first pure-Go LaTeX to MathML renderer! If you're working with LLMs like ChatGPT or Gemini and need to display mathematical formulas generated in their responses, TreeBlood offers a fast, server-side solution.
Authored by Wyatt Sheffield, TreeBlood efficiently converts any LaTeX expressions into web-browser-ready MathML. For example, if you have an equation like $\int_0^1 x^{-x} dx = \sum_{n=1}^\infty n^{-n}$
, TreeBlood will transform it into the following:
You can integrate TreeBlood in two ways: by using the package directly or via the Goldmark extension.
- TreeBlood package: https://github.com/Wyatt915/treeblood
- Goldmark extension: https://github.com/Wyatt915/goldmark-treeblood
We'd love to hear your thoughts on this LaTeX-to-MathML renderer! Feel free to share your feedback or ask any questions.