PHP Markdown Extra Math

Dr. Drang drdrang at
Tue Dec 22 14:26:06 EST 2009

This is a minor extension to Michel Fortin's work that helps me add
equations using LaTeX syntax (via jsMath) to my blog posts. It's based
on v. 1.2.4. There's a brief description here

and the GitHub repository is here

The display math code seems fairly clean to me, but the inline math is
a bit messy, as I had to pry open Michel's handleSpanToken function.
The code works for me, but suggestions for improvement are welcome.

More information about the Markdown-Discuss mailing list