Thursday, May 10, 2012

Creating custom directives in a Python docutils ReST parser

Parsing some ReStructured Text with Python's docutils, and want to make your own custom directives? Here's a minimal example.