Custom writer

This is a sample custom writer for pandoc. It produces output that is very similar to that of pandoc’s HTML writer. There is one new feature: code blocks marked with class are piped through graphviz and images are included in the HTML output using data: URLs.

Here’s an example: