Render diagram markup in a Pandoc AST into SVG
Process a Pandoc abstract syntax tree and convert fenced code blocks with diagram markup into embedded SVG images. Supported diagram markup languages:
The Pandoc AST has represents input as
Block and other types of
nodes. This crate turns
Block::CodeBlock nodes that carry a
class attribute that specifies one of the supported diagram markup
languages into blocks with embedded SVG graphics.
Note that this library does not do any parsing. The
pandoc_ast::filter function does that.
Represent the diagram filter.
Possible errors for diagram filtering.