so-rose
Joined 6 karma
- `typst` might meet your needs. No, really.
It embeds almost anywhere, including via client-side WASM, and someone even made a nice TypeScript lib [0]. If you dislike `typst`, it even has a package that transpiles LaTeX strings into native typst, which somehow doesn't seem to make `typst` any less fast [1]. WASM plugin magic will do that!
The curious consequence is that the fastest and most portable way to render lightwight LaTeX code might actually be... To transpile LaTeX to embedded `typst`? Sure, sure, not all of LaTeX will map. But from an 80/20 mindset it might just be enough.
- [0] https://github.com/Myriad-Dreamin/typst.ts - [1] https://typst.app/universe/package/mitex/
It's almost nice that mysteries remain - apparently, the physical mechanism behind solar spicules [1] remains "hotly" (!!) debated.
[1]: https://en.m.wikipedia.org/wiki/Solar_spicule