Markdown Chart Config
Less than 1 minute
The following options supports different charts in markdown, and can be set under markdown property in theme options.
markdown.chartjs
- Type:
boolean - Default:
false - Details:
Whether to enable Chart.js support
markdown.echarts
- Type:
boolean - Default:
false - Details:
Whether to enable ECharts support
markdown.flowchart
- Type:
boolean - Default:
false - Details:
Whether to enable flowchart support
markdown.markmap
- Type:
boolean - Default:
false - Details:
Whether to enable Markmap support.
markdown.mermaid
- Type:
boolean - Default:
false - Details:
Whether to enable Mermaid support.
markdown.plantuml
- Type:
MarkdownItPlantumlOptions[] | boolean - Default:
false - Details:
Whether to enable plantuml support.
markdown.DANGEROUS_ALLOW_SCRIPT_EXECUTION
- Type:
boolean - Default:
false
Whether to allow script execution in charts.
markdown.DANGEROUS_SCRIPT_EXECUTION_ALLOWLIST
- Type:
string[] | '*' - Default:
[] - Details: Only effective when
DANGEROUS_ALLOW_SCRIPT_EXECUTIONis enabled. A list of file paths allowed to execute chart scripts. Use'*'to allow all files.
Changelog
11/28/25, 9:34 AM
View All Changelog
7d390-on660a5-on1b917-on22787-on