From: Michael Foord <mike@pc...> - 2005-06-15 17:34:53
My apologies all. In my haste to let you know about the textmacros =
module I omitted a vital link :
This page has the download link and instructions for use as a standalone =
Note that the textmacros module is actually by Hans Nowak - I have just =
packaged it separately with his kind permission [#]_.
It is particularly useful as it easily permits Python source coloring =
without hacking docutils.
Using the example macros provided [#]_ you can do the following :
.. raw:: html=20
.... code here
Process with docutils first, then the html output with textmacros - and =
nice Python source coloring is done.
.. [#] He hasn't actually chosen a license for it - but it will be a =
BSD style unrestrictive one.
.. [#] By me :-p - designed for HTML output