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

相关内容

中慧1+X证书真题

所属院校:厦门南洋职业学院 2022年Python 1+X中级考试真题(理论) 单选题 每小题2分,共60 分 1 Django模板的变量名在HTML中用( )定义。 A:[[ ]] B:{{ }} …

更多

OWOSER服务器合并草案

联合服务器策划草案 大纲: 运营: **服务器主机:**由@百万瓦小伦伦 负责提供服务器主机,购买域名解析。 **管理:**由 夏武郎 和 百万瓦小伦伦 以及 小穆 其他管理组织。 宣传: **策划 …

更多

latex公式渲染测试

前言 博客Latex公式渲染老炸, 气死我啦啊啊啊啊啊啊!!! 这叫我怎么总结数学笔记嘛!!! 用这个页面记录几个newbing给的公式, 用来测试latex公式的渲染) 测试 使用latex语法给我 …

更多