title: Integrate graphviz into pandoc
body: <p>I am trying to integrate graphviz using the dot command into pandoc markdown, and I am wondering what the easiest way is to do this. Currently I am creating separate <code>.dot</code> files, create images from them using the <code>dot</code> command manually on the command line into a separate file, and finally  add that file using the image syntax of markdown:</p>
  
  <pre><code>![](./path/to/image.png)
  </code></pre>
  
  <p>But since the dot syntax is similar easy to read than markdown, I would prefer to have dot integrated in markdown. It feels like this should be possible, because in the <a href="https://pandoc.org/filters.html" rel="nofollow noreferrer">pandoc filters page</a> this is given as an example. It is just that I don't want to code that on my own, but would like to use some package that is ready to use. Does something like that exist?</p>