1 points · by astm · 9mo ago · 0 comments
Features: - CLI tool (mermaidfmt) with stdin/file/in-place support - Programmatic API for integration (e.g. format Mermaid blocks in Markdown) - Nested block indentation (alt/loop/par/subgraph track depth) - Context-aware parsing (else only inside alt, and only inside par) - Arrow normalization: A->>B:msg → A ->> B: msg
npm install -g mermaid-formatter
No comments yet.