@register.tag("restructuredtext")
def rest_tag(parser, token):
    nodelist = parser.parse(("endrestructuredtext",))
    parser.delete_first_token()
    return ReStructuredTextNode(nodelist)
Render the ReStructuredText into html. Will pre-render template code first.
dataset/ETHPy150Open amarandon/smeuhsocial/apps/blog/templatetags/restructuredtext.py/rest_tag