Lunchtime Nikola Feature: graphviz

Since we are in the process of adding a plugin repo for Nikola, I wanted to add a simple plugin there so that we can show how it works.

So here it is. You use this:

.. graphviz::

   digraph foo {
       "Idea" -> "tap tap tap" -> "Code";
   }

And you get (assuming graphviz is installed, and this plugin is installed, etc.) this:

System Message: ERROR/3 (<string>, line 16)

Unknown directive type "graphviz".

.. graphviz::

   digraph foo {
       "Idea" -> "tap tap tap" -> "Code";
   }

It's still very rudimentary, but it aims to be compatible with Sphinx's implementation even though the details of how it's done vary greatly.

Comments

Comments powered by Disqus