sparksuite / simplemde-markdown-editor

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://simplemde.com
MIT License
9.79k stars 1.12k forks source link

Math mode #704

Closed Silverutm closed 4 years ago

Silverutm commented 6 years ago

Is there a way to display equations?

$x^2 + x_1 + 1 = 4^3$

kddelosreyes commented 6 years ago

Another concern is we cannot use other math symbols like "element of", "there exist", "subset", etc.

kddelosreyes commented 6 years ago

@Silverutm you can use and as an alternative.

CompSciRocks commented 5 years ago

Any chance there's an update on this, or maybe a similar project that does support MathJax / KaTex / LaTex? This project looks 99% perfect, except for math support, for something I'm working on.

Silverutm commented 5 years ago

What I did is Download the image generated by http://quicklatex.com/ with no background and then displayed it with <img src="dropbox or the place the image is save" style="display: block; margin-left: auto; margin-right: auto;" />

Dont recomend using the url generated by quiklatex as img src because it disappears after a few weeks

Silverutm commented 4 years ago

The html code is inserted between the markdown, works perfectly