Skip to content

geeklearningio/graphviz-markdown-preview

Repository files navigation

Visual Studio Marketplace

Adds GraphViz support to VS Code's builtin markdown preview

Usage

Create diagrams in markdown using graphviz code blocks:

```graphviz
digraph finite_state_machine {
    rankdir=LR;
    size="8,5"

    node [shape = doublecircle]; S;
    node [shape = point ]; qi

    node [shape = circle];
    qi -> S;
    S  -> q1 [ label = "a" ];
    S  -> S  [ label = "a" ];
    q1 -> S  [ label = "a" ];
    q1 -> q2 [ label = "ddb" ];
    q2 -> q1 [ label = "b" ];
    q2 -> q2 [ label = "b" ];
}
```

About

Adds Graphviz support to VSCode's builtin markdown preview

Resources

Stars

Watchers

Forks

Packages

No packages published