ReStructuredText parser plugin
My version of the ReST parser plugin for Zine is here: http://jw.n–tree.net/code/rest_parser
Thoughts, ideas and moohoo
My version of the ReST parser plugin for Zine is here: http://jw.n–tree.net/code/rest_parser
I'm used to type in ReStructured Text. So hacked up a Zine plugin parsing "ReST", including basic support for sourcecode:: python blocks that get syntax hilited.
Here's a demo:
class MyClass(object): """My cool class. Kewl, ain't? """ def __init__(self): self.foo = 'foo' self.bar = 'bar'
<root> <child_1>with text node</child_1> <child_2 with_an_attribute="value"> and more text </child_2> </root>
The plugin needs a bit of pollishing…