@more-markdown/dot-processor

0.1.2 • Public • Published

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;" +
"}"+
"```");

Readme

Keywords

Package Sidebar

Install

npm i @more-markdown/dot-processor

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • more-markdown