KaTeX / katex-ir

Experimental intermediate representation for KaTeX to support multiple renderers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Still in development?

jackparmer opened this issue · comments

Would love to ask about this project. Also based in MTL. jack@plot.ly

@jackparmer this was mostly me experimenting. I haven't touched this in a while. I think we'll probably want to do KaTeX/KaTeX#800 (update buildHTML to output HAST) and update the parser output to be more regular before tackling an IR that can be used for HTML as well as canvas and SVG.

I'd also be very interested to hear the current status. I believe the buildHTML work has been merged, right?

I think (but am not sure) that an IR would allow https://github.com/vega/vega to potentially use this, which would address a really complicated need :)

There is no buildHTML function in this repo. The html folder contains some failed experiments. Please see KaTeX/KaTeX#1409 for more success experiments.