Skip to content

Commit

Permalink
update default mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
JackuB committed Feb 9, 2024
1 parent 5d17fe7 commit 5c1d888
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mermaid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@ export async function renderMermaidToFile(
export const mermaidPreviewHintText =
':bulb: Use a tool like <https://mermaid.live|Mermaid.live> to preview your Mermaid before posting';

export const defaultMermaid = `graph LR\n ...`;
export const defaultMermaid = `graph TD;
A-->B;
A-->C;
B-->D;
C-->D;`;

0 comments on commit 5c1d888

Please sign in to comment.