docs: Add frontmatter config demos

This commit is contained in:
Sidharth Vinod
2023-08-21 15:02:29 +05:30
parent 8ac7dc81e0
commit 2b9dc0ea80
2 changed files with 9 additions and 0 deletions

View File

@@ -21,6 +21,8 @@
<pre class="mermaid"> <pre class="mermaid">
--- ---
title: This is a title title: This is a title
config:
theme: forest
--- ---
erDiagram erDiagram
%% title This is a title %% title This is a title

View File

@@ -123,6 +123,13 @@
<h3>flowchart</h3> <h3>flowchart</h3>
<pre class="mermaid"> <pre class="mermaid">
---
title: This is another complicated flow
config:
theme: base
flowchart:
curve: cardinal
---
flowchart LR flowchart LR
sid-B3655226-6C29-4D00-B685-3D5C734DC7E1[" sid-B3655226-6C29-4D00-B685-3D5C734DC7E1["