Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for standalone .mmd or .mermaid files #226

Open
dashdeckers opened this issue Nov 17, 2023 · 1 comment
Open

Support for standalone .mmd or .mermaid files #226

dashdeckers opened this issue Nov 17, 2023 · 1 comment

Comments

@dashdeckers
Copy link

It would be nice if .mmd or .mermaid files were automatically recognized and rendered as I am restricted to using those (other tools only support them, and in general it is not a bad design choice to keep large diagrams in separate files) and now I need to have two extensions installed to be able to live-preview my mermaid diagrams: this one and "Mermaid Preview".

These standalone files are not fenced in code blocks like this:

```mermaid
stateDiagram-v2
    s1 --> s2
```

instead they simply contain the contents like this:

stateDiagram-v2
    s1 --> s2
@Kingdruoid
Copy link

+1
I am also looking to achieve this exactly.

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

No branches or pull requests

3 participants