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

相关内容

MCBE 88音平均律

前言 今天修IMC Geyser的时候看到冲田在烷MC,随便试了试Xbox联机没想到进去了)然后冲田似乎在研究playsound的调音,我才知道原来MCBE的playsound命令还有微分音的用法(红 …

更多

为什么国内大厂做不出好游戏

为什么国内大厂做不出好游戏 首先要声明的一点是,本文的讨论中心“国内大厂为什么做不出好游戏”本身就是一个伪命题,因为,不管是对于所谓“大厂”的定义,还是所谓“好游戏”的定义,都是十分模糊的。至少我不能 …

更多

中慧1+X证书题库

所属院校:厦门南洋职业学院 Python程序开发模拟卷(中级1120) 单选题 每小题2分,共60 分 1 提高Selenium脚本的执行速度描述中错误的是( )。 A:使用更高配置的电脑和选择更快的 …

更多