brrd / abricotine

Markdown editor with inline preview
GNU General Public License v3.0
2.63k stars 156 forks source link

LaTeX Equations Support #7

Closed RoyiAvital closed 8 years ago

RoyiAvital commented 8 years ago

Hi,

Could you please add support for LaTeX Equations support. The reference I can give you is StackEdit.

We really need new MD editor, bravo!

brrd commented 8 years ago

Hi, Abricotine already supports LateX formulas. Formulas must be wrapped with $$ symbols: $$\sum_{i=1}^{n} (v_{i-1}+u_{i})$$ Thanks to MathJax, math formula is previewed into the editor if you check "Math" in the "Auto Preview" menu. It is also rendered when you export the doc to HTML.

jdallmann commented 8 years ago

Hi,

Would it be possible to display math when wrapped only in single '$'s too (or is there an easy way to hack to config to allow this)? Doing so would help to make Abricotine more compatible with Pandoc Markdown. Also, it's looking awesome so far!

RoyiAvital commented 8 years ago

@brrd , I will try it. Also, as written above, inline equation using $ <> $ would be amazing.

Thank You.

adiultra commented 8 years ago

Hi, I know MathJax is being used now, but I would like to recommend Katex.

The basic reason is, it is fast, very much faster than MathJax. It does lack extremly advanced features, But it has many.

There is also a package of markdown-katex for aton.

brrd commented 8 years ago

Hi there, I just created two issues #15 and #16 from your comments. I'm closing this one. Thanks

RoyiAvital commented 8 years ago

Hi, Please don't move to Katex. We want full support in the {align} environment.

Or to the least allow the user to toggle between MathJax and Katex. Thank You.

adiultra commented 8 years ago

I am totally with both of them to be included (katex being 2MB in size) :+1: