My fork of Michel Fortin's PHP Markdown Extra has been updated to include support for MathJax as well as jsMath. Both of these are JavaScript libraries for using LaTeX syntax, e.g., \(E = mc^2\), to include high quality, scalable equations (not just bitmapped images of equations) in your HTML pages. Links to more information: * A [description of PHP Markdown Extra Math][1], along with some configuration instructions for using it with WordPress. * PHP Markdown Extra Math's [GitHub repository][2]. * The [MathJax][3] library. * The [jsMath][4] library. [1]: http://www.leancrew.com/all-this/2010/09/php-markdown-extra-math-mathjax-and-wordpress/ [2]: http://github.com/drdrang/php-markdown-extra-math [3]: http://mathjax.org [4]: http://www.math.union.edu/~dpvc/jsMath/
Le 2010-09-28 ? 10:08, Dr. Drang a ?crit :> My fork of Michel Fortin's PHP Markdown Extra has been updated to > include support for MathJax as well as jsMath. Both of these are > JavaScript libraries for using LaTeX syntax, e.g., \(E = mc^2\), to > include high quality, scalable equations (not just bitmapped images of > equations) in your HTML pages.If I read that well, it's more an extension than a fork. I took a look at your changes, and it seems that most of the modifications could easily be done in a subclass of the MarkdownExtra_Parser class (adding functions, adding entries in the span/block gamut arrays), the one notable exception being the `parseSpan` function. I'm not complaining or suggesting anything, only making the observation that `parseSpan` in PHP Markdown & PHP Markdown Extra is somewhat in the way of making extensions by subclassing. -- Michel Fortin michel.fortin at michelf.com http://michelf.com/
Seemingly Similar Threads
- Use of MathJax (or something similar) in .Rd files
- MultiMarkdown and MathML - new feature and request for help
- Use of MathJax (or something similar) in .Rd files
- Use of MathJax (or something similar) in .Rd files
- Use of MathJax (or something similar) in .Rd files