Works with mathjax, with a little help
Yes, mathjax works with ikiwiki. The main trouble I ran into was markdown trying to parse the math. For example markdown and tex both use underscores. I wrote a quick plugin to replace all the TeX with strip markers in the 'filter' phase and put it back in the 'sanitize' phase (just replacing all the TeX content with its Base64 representation temporarily) and that seems to have fixed the problem well enough.
Comment by
Carl
—
comment 2
Hi Carl,
That's great news, I've been looking for a solution like this for some time.
would you mind sharing your patch or write up a small howto?
Thanks
Comment by
patrick
—
Tutorial?
Would be nice to have a little tutorial. I don't know how to set up mathjax.
Comment by
micheal
—
Tutorial + options
I've been using MathJAX + ikiwiki for a while, and finally got around to posting my setup. You can find a tutorial here.
Comment by
GI
—
recipe
SO has a thread on this: http://stackoverflow.com/questions/6889564/add-mathjax-support-to-a-local-ikiwiki .
Comment by
Meng
—
comment 6
Unfortunately the StackOverflow method suggests using pandoc. This has many bad side effects...
Comment by
GI
—
Hi Carl, That's great news, I've been looking for a solution like this for some time. would you mind sharing your patch or write up a small howto? Thanks