01 HOWTO
Syntax editor area
Write Mermaid syntax in the left editor. Start from a diagram template, add context-aware insert suggestions, and check the structure in the preview as you edit.


What this area does
- Enter Mermaid syntax directly
- Insert a starter template for the diagram type
- Add suggestions that match the current diagram type
- Fix input while checking preview errors
Where to use it
Syntax input
Enter Mermaid syntax for flowcharts, sequence diagrams, class diagrams, and other diagrams.


Template selection
When the editor is empty, choose a diagram type and insert its starter structure.


Input suggestions
Add matching items such as nodes, edges, branches, or loops at the cursor position.


Error review
When the syntax has a problem, use the preview-side message to correct the input.
























