Class
zope.app.renderer.rest.ReStructuredTextToHTMLRenderer

An Adapter to convert from Restructured Text to HTML.

Examples:

>>> from zope.publisher.browser import TestRequest
>>> source = ReStructuredTextSourceFactory(u'''
... This is source.
...
... Header 3
... --------
... This is more source.
... ''')
>>> renderer = ReStructuredTextToHTMLRenderer(source, TestRequest())
>>> print renderer.render().strip()
<p>This is source.</p>
<div class="section">
<h3><a id="header-3" name="header-3">Header 3</a></h3>
<p>This is more source.</p>
</div>

Base classes

Implemented Interfaces

Attributes/Properties

There are no attributes in this class.

Methods

Known Subclasses

There are no known subclasses.