1. Ondřej Žára
  2. pandoc-dot

Overview

HTTPS SSH

pandoc-dot

This pandoc filter scans for all image references that have the dot extension. For every image, it calls the dot program to convert it to a PNG version, adjusting the referenced extension accordingly.

Usage

$ echo '![](test.dot)' | pandoc -t json --filter ./dot.js 

You will need to have a working NodeJS setup, as well as the graphviz suite installed.