Skip to content

Instantly share code, notes, and snippets.

@petervandivier
Last active November 3, 2023 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petervandivier/6048614d59a3022a5091004c34979586 to your computer and use it in GitHub Desktop.
Save petervandivier/6048614d59a3022a5091004c34979586 to your computer and use it in GitHub Desktop.

This is a markdown file.

graph TD;
    A(with a mermaid diagram)-->B;
    A-->C;
    B-->D;
    C-->D(embedded inside);
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@petervandivier
Copy link
Author

GitHub supports rendering a mermaid diagram from an .mmd file. You do not need to code fence inside a markdown document if all you care about is the diagram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment