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

相关内容

个人腐竹如何经济廉价的防御DDoS

因为近期很多腐竹都遭到了DDoS的攻击,本人也不例外。为了帮助广大公益服腐竹,本人总结了一些个人经验,希望能对大家有所帮助。 注:本文重点在于**“如何经济廉价的解决DDoS攻击所带来的影响”**,所 …

更多

MOTD平台使用

MOTD平台API调用教程 motd查询平台和api本站免费提供使用,接受一切建议,杜绝一切谴责 感觉最近用motd查询平台的人越来越多了啊(挠头),似乎还因为这个被人D了好几天。。不过无所谓啦,如果 …

更多

图床测试

SMGPhoto 采用 PicGo客户端 + Github + Cloudflare Pages+ thumbsup 的方案实现完全脱离自托管服务器的自建静态渲染图床网站.

更多