Color mode

Diagrams

Mermaid (Pele) — mermaid-pele

Source

md
```mermaid
flowchart LR
  A[Note] --> B{Published?}
  B -->|yes| C[Site]
  B -->|no| D[Draft]
```

Rendered

Diagram source
text
flowchart LR
  A[Note] --> B{Published?}
  B -->|yes| C[Site]
  B -->|no| D[Draft]

Mermaid (headless browser) — mermaid

The mermaid plugin renders the same mermaid fence to SVG with a headless browser at build time. This site uses Mermaid (Pele) instead, so the build does not need Chromium.

D2 — d2

Source

md
```d2
site: Riebeckite
content -> build -> deploy
```

Rendered

Diagram source
text
site: Riebeckite
content -> build -> deploy

Graphviz / DOT — graphviz

Source

md
```dot
digraph G {
  notes -> pages;
  pages -> html;
}
```

Rendered

Diagram source
text
digraph G {
  notes -> pages;
  pages -> html;
}

Chart.js — chartjs

Source

md
```chart
{
  "type": "bar",
  "data": {
    "labels": ["Mon", "Tue", "Wed"],
    "datasets": [{ "label": "Visits", "data": [12, 19, 8] }]
  }
}
```

Rendered

Diagram source
text
{
  "type": "bar",
  "data": {
    "labels": ["Mon", "Tue", "Wed"],
    "datasets": [{ "label": "Visits", "data": [12, 19, 8] }]
  }
}

Vega-Lite — vega-lite

Source

md
```vega-lite
{
  "title": "Revenue",
  "data": { "values": [{ "category": "A", "value": 28 }, { "category": "B", "value": 55 }] },
  "mark": "bar",
  "encoding": {
    "x": { "field": "category", "type": "nominal" },
    "y": { "field": "value", "type": "quantitative" }
  }
}
```

Rendered

Revenue
Vega-Lite spec
text
{
  "title": "Revenue",
  "data": { "values": [{ "category": "A", "value": 28 }, { "category": "B", "value": 55 }] },
  "mark": "bar",
  "encoding": {
    "x": { "field": "category", "type": "nominal" },
    "y": { "field": "value", "type": "quantitative" }
  }
}

WaveDrom — wavedrom

Source

md
```wavedrom
{ "signal": [
  { "name": "clk", "wave": "p......" },
  { "name": "bus", "wave": "x.34.5x", "data": "head body tail" }
] }
```

Rendered

WaveJSON source
text
{ "signal": [
  { "name": "clk", "wave": "p......" },
  { "name": "bus", "wave": "x.34.5x", "data": "head body tail" }
] }

Markmap — markmap

Source

md
```markmap
# Project
 
## Design
 
### Notation
### Rendering
 
## Delivery
```

Rendered

Markdown source
text
# Project
 
## Design
 
### Notation
### Rendering
 
## Delivery

Marp slides — marp

Source

md
```marp title="Intro deck"
# First slide
 
- a bullet
 
---
 
# Second slide
```

Rendered

First slide

  • a bullet

Second slide

Marp source
text
# First slide
 
- a bullet
 
---
 
# Second slide

Maps — map

A static fallback renders first, then expands to an interactive map where JavaScript is available.

Source

md
```map
center: 35.6812, 139.7671
zoom: 13
label: Tokyo Station
markers:
  - 35.6812, 139.7671 | Tokyo Station
  - 35.6586, 139.7454 | Tokyo Tower
```

Rendered

Tokyo Station

Tokyo Station

© OpenStreetMap contributors

Map source
text
center: 35.6812, 139.7671
zoom: 13
label: Tokyo Station
markers:
  - 35.6812, 139.7671 | Tokyo Station
  - 35.6586, 139.7454 | Tokyo Tower

QR codes — qr-code

Generated as inline SVG at build time.

Source

md
```qr
# caption: Project page
https://example.com/
```

Rendered

Project pagehttps://example.com/

PlantUML — plantuml

The diagram becomes an image URL pointing at a PlantUML server at build time. Viewing it requires reaching that server.

Source

md
```plantuml
@startuml
Alice -> Bob: Hello
Bob --> Alice: Hi
@enduml
```

Rendered

PlantUML diagram
Diagram source
text
@startuml
Alice -> Bob: Hello
Bob --> Alice: Hi
@enduml

Canvas — canvas

Write JSON Canvas directly in a code fence, or embed a Canvas file with ![[diagram.canvas]].

Source

md
```canvas
{
  "nodes": [
    { "id": "note", "type": "text", "x": 0, "y": 0, "width": 240, "height": 100, "text": "Note" }
  ],
  "edges": []
}
```

Rendered

Canvas nodes and edges
  • text note — Note

Powered by Riebeckite

Local Graph

Nearby Notes