Chart

Turns a Markdown table into a chart. The first column becomes axis labels, the header row becomes series names, and data cells become values.

Bar chart

The default chart type displays data as vertical bars.

{% chart type="bar" title="Monthly Revenue" %}
| Month | Revenue | Expenses |
|-------|---------|----------|
| Jan   | 4200    | 3100     |
| Feb   | 5100    | 3400     |
| Mar   | 4800    | 3200     |
| Apr   | 6200    | 3800     |
{% /chart %}
Monthly Revenue
JanFebMarApr
Revenue Expenses

Line chart

Use type="line" for trend data.

{% chart type="line" title="User Growth" %}
| Quarter | Users |
|---------|-------|
| Q1 2024 | 1000  |
| Q2 2024 | 2500  |
| Q3 2024 | 5000  |
| Q4 2024 | 8500  |
{% /chart %}
User Growth
Q1 2024Q2 2024Q3 2024Q4 2024

Attributes

AttributeTypeDefaultDescription
typestringbarChart type: bar, line, pie, or area
titlestringChart title
stackedbooleanfalseStack series values