0.1.2 • Published 9 years ago

@more-markdown/dot-processor v0.1.2

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
9 years ago

more-markdown / dot-processor

A plugin for more-markdown that renders graphs in dot notation.

Installation

You first need a more-markdown setup. Then you can install it via:

npm install @more-markdown/dot-processor

Usage

var moreMarkdown = require('more-markdown');
var dotProcessor = require('@more-markdown/dot-processor');

// create a processor that writes the final html
// to the element with the id 'output'
var proc = moreMarkdown.create('output', processors: [dotProcessor]);

proc.render("```dot" +
"digraph graphname {"+
"      a -> b -> c;"+
"      b -> d;" +
"}"+
"```");
0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago