Skip to content

Visual Studio Code preview doesn't render Mermaid diagrams in markdown files #45

Open
@ahinterl

Description

@ahinterl

I don't get Mermaid diagrams contained in a markdown file rendered in the Visual Studio Code default previewer; instead, the code block is displayed verbatim; the Mermaid Chart extension is installed; example content of a markdown file:

Title

This is some text

---
config:
  layout: elk
---

flowchart TB
      Start[sdf afd]@{ shape: stadium}
      VarDef[Is Variable defined?]
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions