Mermaid-Chart / vscode-mermaid-preview

Previews Mermaid diagrams
MIT License
142 stars 15 forks source link

Doesn't work for standalone .mmd files #120

Open guwidoe opened 3 months ago

guwidoe commented 3 months ago

Expected behaviour

sequenceDiagram
  A-->B: Works!

Actual behaviour

image

Even though I'm trying to preview a standalone mermaid (.mmd) file, the preview expects the ```mermaid fence and won't render a preview without it.

I'm using the dark theme for VSCode and didn't change the theme settings of the extension.

The command appears to be called "Preview Mermaid" image

not "Preview Mermaid Diagram" like mentioned in the documentation of this extension.