Skip to navigation

malevolent design weblog

ASCII + JavaScript = MathML

ASCIIMathML.js is a wonderfully clever bit of coding that lets web pages automatically convert plain text equations into prettily-formatted MathML.

I’m not sure about their slightly hacky choice of wrapping equations in `…` instead of using tags (e.g. <code class="ASCIIMathML">), but I suppose it allows for things like people putting equations into weblog comments.


Comments


Comments are now closed for this entry.

Blatant self-promotion

Web Sites
Good-looking, effective sites.
Flash Games
Nifty games and online marketing.
Advice
Help with strategy and planning.