markdown+mathjax
Live markdown editor based on MathJax and Marked
How it works?
text → Replace Math with placeholder and store Math it in array → Markdown → Replace placeholders with Math → Return marked text → MathJax → Preview
##Differecnces The main difference between mine and Kerzol's implementation is the order of Markdown And Latex.
I do Markdown first and then Latex whereas he does the opposite.
My version eliminates some bugs of his version
Demo
http://meghprkh.github.io/markdown-mathjax/editor.html
Dependencies
Install
You should initialize and fetch marked into lib/. Just type in the terminal:
cd markdown-mathjax/
git submodule init
git submodule updateWe use MathJax from http://cdn.mathjax.org/. If you don't like that you need to read and modify editor.html