Skip to content

Graphviz extension for the showdown JavaScript Markdown parser. Based on Viz.js

Notifications You must be signed in to change notification settings

jwt625/showdown-viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

showdown-viz

Graphviz extension for Showdown.

Screenshot

img

Usage

  • download and include Viz.js
  • download showdown-viz.js and include it to the html
  • registrate the extension when initializing the converter, like
var converter = new showdown.Converter({extensions: ['showdown-toc','showdown-viz']});
  • Use markdown code block with tag dot-parse, e.g.

```dot-parse

// your Graphviz code here

```

then the <pre> element generated by the code block will be replaced by the corresponded svg element.

About

Graphviz extension for the showdown JavaScript Markdown parser. Based on Viz.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published