Skip to content

Instantly share code, notes, and snippets.

@cben
Last active June 5, 2025 17:00
Show Gist options
  • Save cben/42255ee5dfda544eb621e2955fc7a99e to your computer and use it in GitHub Desktop.
Save cben/42255ee5dfda544eb621e2955fc7a99e to your computer and use it in GitHub Desktop.
test mermaid in gist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cben
Copy link
Author

cben commented Jun 5, 2025

comment test:

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
Loading

@cben
Copy link
Author

cben commented Jun 5, 2025

Does sphinxcontrib-mermaid syntax ```{mermaid} work? I think not.

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

However I think it's possible to drop the braces with fence_as_directive config 🤷‍♂️ which is better for interop in any case.

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