Skip to main content

Graphviz extension for docutils

Project description

Graphviz extension for Docutils

A Docutils extension that replaces inline Graphviz definitins with inline SVGs or PNGs!


Install `Graphviz <>`_ first! The command "dot" should be in system PATH.


import docutils_graphviz
from docutils.parsers.rst import directives

directives.register_directive('dot', docutils_graphviz.Graphviz)


.. dot:: svg
:widht: 100%
:height: 100%
:alt: image.svg

digraph G {

Earth [peripheries=2]
Earth -> Mars

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-docutils-graphviz, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size python-docutils-graphviz-1.0.3.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page