Question about docutils

Damjan gdamjan at gmail.com
Thu Jan 25 19:13:16 EST 2007


>> I'm using docutils 0.4.
>> Is it possible to define special custom 'tags' (or something) that will
>> invoke my own function? The function would then return the real content
>> in the ReST document.
> 
> I -think- this is what you're looking for:
> http://docutils.sourceforge.net/docs/howto/rst-roles.html
> 
> Hope it helps.

Thanks, it looks to be exactly what I need... I'm reading it now, and will
try to implement it.


-- 
damjan



More information about the Python-list mailing list