modified paragraph one file per diagram type — push them to see them rendered:
deleted heading supported diagram types
deleted paragraph all mermaid.js diagram types work:
modified list item flowchart — nodes, edges, decisions
deleted list item sequence diagram
deleted list item class diagram
deleted list item state diagram
modified list item er — entity relationship diagram
modified list item gantt — project timeline
modified list item pie — pie chart
deleted list item git graph
deleted list item mindmap
deleted list item timeline
deleted list item and more — anything mermaid.js supports
inserted heading demos
inserted list item sequence — message passing between participants
inserted list item class — class hierarchy with methods and properties
inserted list item state — state machine with transitions
inserted list item gitgraph — git branch and merge history
inserted list item mindmap — hierarchical mind map
modified list item push a .mmd or .mermaid file via git (or save via edit mode)
inserted list item if rendering fails (invalid syntax), the source is shown as ...
M /docs/undefined +1 -3
5 unmodified lines6- the rendered SVG is stored alongside the source, so viewing is instant7- edit mode uses CodeMirror (same as .ts, .py, etc)8- supported on both sublimated.com (file viewer) and run.sublimated.com (published sites)9- inline comments and reactions work on the rendered diagram (SVG is inline DOM)10- [demo](demo.mmd) — example flowchart, push it to see it rendered10
12## supported diagram types11## demos12
14all [mermaid.js](https://mermaid.js.org/) diagram types work:13one file per diagram type — push them to see them rendered:14
16- flowchart / graph17- sequence diagram18- class diagram19- state diagram20- entity relationship diagram21- gantt chart22- pie chart23- git graph24- mindmap25- timeline26- and more — anything mermaid.js supports15- [flowchart](flowchart.mmd) — nodes, edges, decisions16- [sequence](sequence.mmd) — message passing between participants17- [class](class.mmd) — class hierarchy with methods and properties18- [state](state.mmd) — state machine with transitions19- [er](er.mmd) — entity relationship diagram20- [gantt](gantt.mmd) — project timeline21- [pie](pie.mmd) — pie chart22- [gitgraph](gitgraph.mmd) — git branch and merge history23- [mindmap](mindmap.mmd) — hierarchical mind map24
25## how it works26
301. push a `.mmd` or `.mermaid` file via git271. push a `.mmd` or `.mermaid` file via git (or save via edit mode)282. sublimated detects the file type and sends it to the mermaid renderer (Selkie, Rust/WASM)293. the rendered SVG is stored in CAS as a `render_svg` representation304. when you view the file, the SVG is displayed inline315. edit via `~edit` opens CodeMirror, save triggers re-render326. if rendering fails (invalid syntax), the source is shown as highlighted code33
34## embedding in markdown35
36mermaid code blocks in markdown files are also rendered:21 unmodified lines