Mathdown
September 16, 2014 · View on GitHub
Collaborative Markdown + math
Demo
- http://mathdown.net (original)
- http://rhythmus.be/mathdown (redesign fork)
- Einstein’s 1905 paper on special relativity
ℹ THIS REPO IS FORKED FROM cben/mathdown. I just did the redesign.
⚠ Alpha quality! Will eat your math, burn your bookmarks & expose your secrets.
:bug: Known bugs are listed here.

](http://rhythmus.be/mathdown/index.html?doc=NzbDnWwn2nF#Zur-Elektrodynamik-bewegter-K-rper)
Powered by
- CodeMirror, as the basis for wysiwyg editing in
contentEditable; - MathJax, for magical typesetting of LaTeX equations;
- glued by CodeMirror-MathJax;
- Firebase’s Firepad, for real-time collaboration.
- Free testing courtesy of Sause Labs.
License
- @cben’s code (including CodeMirror-MathJax) is under MIT License.
- My css too.
- CodeMirror is also MIT.
- Firebase is a proprietary service (#4); their client-side javascript API firebase.js is MIT.
- The collaborative editor Firepad is MIT. It calls firebase javascript API.
Git trivia
After checking out, run this to materialize subdirs://
git submodule update --init --recursive
Append --remote to upgrade to newest versions of all submodules (need to commit afterwards if anything changed).
@cben is directly working in the gh-pages branch without a master branch, as that’s the simplest thing that could possibly work (http://oli.jp/2011/github-pages-workflow lists several alternatives).
Note
About the redesign
The redesign was inspired by this discussion, and as an experiment in search for how wysiwyg Markdown editing could look like.
Other things called “mathdown”
- https://github.com/mayoff/Mathdown/tree/mathjax — Markdown.pl hacked for MathJax pass-through
- https://github.com/keishi/kernlog/blob/master/markdown/extensions/mathdown.py
- http://kwkbtr.info/log/201010050320 — a way to combine Showdown + Mathjax
- http://www.urbandictionary.com/define.php?term=mathdown