Showcase: A 3.5KB zero-dependency TeX-to-MathML compiler for remark math plugins #1488
x-at-01
started this conversation in
Show and tell
Replies: 1 comment 1 reply
|
Thanks for sharing @xtco3o! |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Remark is a highly popular AST-based Markdown processor. Its ecosystem values performance, compliance with standards, and modularity.
Currently, math rendering in Remark pipelines (via plugins like
remark-math) often relies on KaTeX to compile AST nodes. We propose a lighter alternative that compiles TeX directly to native browser MathML Core.We created @webc.site/math:
<math>elements, which are natively supported by modern browsers (since early 2023).Integrating this compiler into Remark math plugins would help developers generate lightweight math-enabled HTML without dragging massive third-party assets to their clients!
All reactions