IMC全新升级合集站,成千上万款游戏在线玩,更多功能敬请期待! 该站点正处于测试中,如果有任何问题欢迎反馈

mermaid 测试

目录

前言

看到主题插件有这个插件, 就顺便琢磨琢磨了) 正好obsidian有mermaid的插件, 预制了一些模板语法以及预览, 正好拿这篇文章试试效果)

测试

Flowchart

flowchart LR
Start --> Stop

SequenceDiagram

sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Alice-)John: See you later!

StateDiagram

stateDiagram-v2
    [*] --> Still
    Still --> [*]

    Still --> Moving
    Moving --> Still
    Moving --> Crash
    Crash --> [*]

EntityRelationshipDiagram

erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE-ITEM : contains
    CUSTOMER }|..|{ DELIVERY-ADDRESS : uses

UserJourneyDiagram

journey
    title My working day
    section Go to work
      Make tea: 5: Me
      Go upstairs: 3: Me
      Do work: 1: Me, Cat
    section Go home
      Go downstairs: 5: Me
      Sit down: 5: Me

GanttChart

gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    another task      : 24d

PieChart

pie title /r/obsidianmd posts by type
    "Look at my awesome graph" : 85
    "Look at my cool dashboard" : 14
    "Moved from Notion, liking it" : 1

RequirementDiagram

    requirementDiagram

    requirement test_req {
    id: 1
    text: the test text.
    risk: high
    verifymethod: test
    }

    element test_entity {
    type: simulation
    }

    test_entity - satisfies -> test_req

GiteGraph

gitGraph
    commit
    commit
    branch develop
    checkout develop
    commit
    commit
    checkout main
    merge develop
    commit
    commit
标签 :
comments powered by Disqus

相关内容

人生第一次上云——轻量助力成长

阿里轻量竞标作文,fffff 我曾经是一位游戏爱好者,并且渴望能够和朋友们一起玩。这是我上云的初衷。那年,我15岁,初中刚毕业。 初中毕业,人生第二次没有作业的暑假,但是我没有什么朋友,也没有出门游玩 …

更多

Hello New World!

Welcome to Hexo! This is your very first post. Check documentation for more info.

更多

Linux查找作业解析

Linux查找作业解析 Linux 20231121 复习内容 课堂练习: 把hadoop01镜像转到20230912,并启动hadoop01,用Ubuntu进行联机。完成下面的操作,并把命令和结果截 …

更多