marianoguerra / rst2html5

transform restructuredtext documents to html5 + twitter's bootstrap css, deck.js or reveal.js
http://marianoguerra.github.com/rst2html5
MIT License
177 stars 51 forks source link

How to register a custom directive and text role ? #85

Open frantic1048 opened 8 years ago

frantic1048 commented 8 years ago

I'm finding a way to do this. But it seems cannot achieve on CLI..

marianoguerra commented 8 years ago

you mean to add custom directives like this ones over here? https://github.com/marianoguerra/rst2html5/blob/master/html5css3/postprocessors.py#L437

frantic1048 commented 8 years ago

Yes, like that. If there is a way to specify a directive name and a proper directive module (an .py module) would be great XD