Skip to content

如果是mermaid代码,可以不用转义么? #104

Description

@weqoocu

文章中有mermaid代码, 被转换成为了

flowchart TD
    root[("《凡人修仙传》韩立元婴期十大事件")]
    1[付家满门事件]:::event
    2[抢婚南宫婉]:::event
    3[寻迹苍坤遗宝]:::event
    4[黄龙山大战]:::event
    5[天道盟与慕兰人赌战]:::event
    6[阴罗宗四长老之战]:::event
    7[极西之地获《大衍诀》]:::event
    8[坠魔谷副本]:::event
    9[古魔之战]:::event
    10[返乡与白巧书院观礼]:::event

    root --> 1 --> 2 --> 3 --> 4 --> 5 --> 6 --> 7 --> 8 --> 9 --> 10

    classDef event fill:#f9f,stroke:#333,stroke-width:2px

Loading

转换后代码, 可以不转化么,不然网站无法解析代码


<code class="language-mermaid">flowchart TD

root[("《凡人修仙传》韩立元婴期十大事件")]

1[付家满门事件]:::event

2[抢婚南宫婉]:::event

3[寻迹苍坤遗宝]:::event

4[黄龙山大战]:::event

5[天道盟与慕兰人赌战]:::event

6[阴罗宗四长老之战]:::event

7[极西之地获《大衍诀》]:::event

8[坠魔谷副本]:::event

9[古魔之战]:::event

10[返乡与白巧书院观礼]:::event

  

root --&gt; 1 --&gt; 2 --&gt; 3 --&gt; 4 --&gt; 5 --&gt; 6 --&gt; 7 --&gt; 8 --&gt; 9 --&gt; 10

  

classDef event fill:<a href="https://weqoocu.com/tag/f9f">#f9f</a>,stroke:#333,stroke-width:2px

</code>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions