Vanessa219 / vditor

♏ 一款浏览器端的 Markdown 编辑器,支持所见即所得(富文本)、即时渲染(类似 Typora)和分屏预览模式。An In-browser Markdown editor, support WYSIWYG (Rich Text), Instant Rendering (Typora-like) and Split View modes.
https://b3log.org/vditor
MIT License
8.42k stars 866 forks source link

数学公式不支持 \begin{equation}...\end{equation}分隔符 #1046

Closed jihaihan closed 3 years ago

jihaihan commented 3 years ago

编辑模式

描述问题

\begin{equation}
m = \frac { m _ { 0 } } { \sqrt { 1 - v ^ { 2 } / c ^ { 2 } } }
\end{equation}

期待的结果

能够正常解析数学公式

截屏或录像

image

版本信息

从在线demo测试的:https://b3log.org/vditor/demo/vue.html

其他信息

Vanessa219 commented 3 years ago

https://b3log.org/vditor/demo/advanced-math.html

katex 不支持,需要设置为 mathjax

jihaihan commented 3 years ago

非常感谢。