graphviz - process code blocks with .graphviz into images
.graphviz
Pandoc filter to process code blocks with class graphviz into graphviz-generated images. Attribute option=-K... can be used to select layout engine (dot by default).
graphviz
option=-K...
dot
pandoc --filter graphviz.pl -o output.html < input.md
This is an extended port of graphviz.py from Python to Perl with Pandoc::Elements and Pandoc::Filter.
To install Pandoc::Elements, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pandoc::Elements
CPAN shell
perl -MCPAN -e shell install Pandoc::Elements
For more information on module installation, please visit the detailed CPAN module installation guide.