benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.79k stars 2.73k forks source link

How can I turn tex back to MathJax replace katex. #1225

Closed FavorMylikes closed 6 years ago

FavorMylikes commented 6 years ago

I have try to write some settings in stackedit v5 over the default like this below

pandoc:
  highlightStyle: kate
  toc: true
  tocDepth: 3
  mathJax: true

or

pandoc:
  highlightStyle: kate
  toc: true
  tocDepth: 3
  mathJax: someurl

But it looks not work for me. Is there any wiki page for this?

benweet commented 6 years ago

mathJax is not allowed here. You can only override the default settings which are:

pandoc:
  highlightStyle: kate
  toc: true
  tocDepth: 3
FavorMylikes commented 6 years ago

Thank you for your reply. But it does not render when I use Katex syntax.

\begin{aligned}
   a&=b+c \\
   d+e&=f
\end{aligned}

Maybe it is my fault but I'm not sure, it copy from Katex site

FavorMylikes commented 6 years ago

Need double $ My fault

RoyiAvital commented 6 years ago

KaTeX is really behind MathJaX. It hurts Students using StackEdit.

Any chance you give us the option to use MathJaX as it used to be?

Thank You.

petered commented 6 years ago

You can still use old StackEdit with the url: https://stackedit.io/editor#

RoyiAvital commented 6 years ago

@petered , Or just leave StackEdit for other and better (Math support wise) solution.

petered commented 6 years ago

@RoyiAvital like what?

RoyiAvital commented 6 years ago

@hackmdio is wonderful! Also using ReText and Visual Studio Code with Markdown Preview Enhanced extension give better Math capabilities and work offline.