Repository navigation
Diagrams Mermaid
rgdevment edited this page Oct 10, 2026
·
1 revision
A code block whose language is mermaid stops being code and is drawn underneath, using Mermaid. It is redrawn when you switch between light and dark, it reaches the PDF, and it is drawn by code inside Tisty — nothing is fetched, so it works offline.
GitHub draws Mermaid too, so every example below is live on this page and in your file on GitHub.
graph TD
R[Rina] --> V[Vaccines]
R --> W[Walks]
R --> C[Vet]
```mermaid
graph TD
R[Rina] --> V[Vaccines]
R --> W[Walks]
R --> C[Vet]
```flowchart TD
A[Rina stares at you] --> B{Been out today?}
B -- No --> C[Take her out]
B -- Yes --> D{Still staring?}
D -- Yes --> C
D -- No --> E[It was hunger]
pie title Walks this week
"Morning" : 7
"Evening" : 5
"Both" : 2
sequenceDiagram
You->>Tisty: I write a task
Tisty->>Disk: I note it in the log
Disk-->>Tisty: filed
Type / and pick the diagram block, or write the fence by hand. A block can also carry a name, like any code block: ```mermaid title="Release flow".
Tisty — free, open source, local · libre, de código abierto, local. Repository · Releases · Issues
English
Getting started
Markdown
- The editor
- Callouts and highlights
- Tables
- Diagrams (Mermaid)
- Math
- Widgets
- Code blocks
- Pages and PDF
- Link cards
Assistants (MCP)
Tasks
Your data
Español
Para empezar
Markdown
- El editor
- Avisos y destacados
- Tablas
- Diagramas (Mermaid)
- Fórmulas
- Widgets
- Bloques de código
- Páginas y PDF
- Tarjetas de enlace
Asistentes (MCP)
Tareas
Tus datos