imzbf / md-editor-v3

Markdown editor for vue3, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...
https://imzbf.github.io/md-editor-v3
MIT License
1.51k stars 145 forks source link

mermaid 中无法使用数学公式 #657

Closed shadowmas closed 1 week ago

shadowmas commented 1 week ago

描述这个Bug

https://mermaid.js.org/config/math.html 中的示例

sequenceDiagram
    autonumber
    participant 1 as $\alpha$
    participant 2 as $$\beta$$
    1->>2: Solve: $$\sqrt{2+2}$$
    2-->>1: Answer: $$2$$
    Note right of 2: $$\sqrt{2+2}=\sqrt{4}=2$$

无法正常渲染其中的公式 image

版本号

4.17.4

问题重现链接

No response

imzbf commented 1 week ago

这种写法是不受支持的