Y
Hacker News
new
|
ask
|
show
|
jobs
by
vzaliva
597 days ago
Have you considered translating formulae to MathML for rendering?
2 comments
einpoklum
597 days ago
It looks like OP is already doing that. Or rather, OP calls katex (
https://katex.org/
) to get MathML and HTML; then renders the HTML to a raster image. But he's throwing the MathML away.
link
Wdorf
597 days ago
KaTeX has a build in MathML feature, but I haven't yet looked into it for rendering.
The "Share text" functionality of the website uses KaTeX's MathML feature as an intermediate step.
link