including pygments code_block directive in rst2* from docutils

Sean Davis seandavi at gmail.com
Thu Jun 10 11:27:36 EDT 2010


I would like to simply extend the rst2* scripts bundled with docutils
to include a code_block directive.  I have found a number of sites
that discuss the topic, but I guess I am new enough to docutils to
still be wondering how to make it actually happen.  I'm looking to
convert a single .rst file to bother html and pdf (via latex).  Any
suggestions?

Thanks,
Sean



More information about the Python-list mailing list