Exemplo n.º 1
0
def docutils_rest_to_html(rest):
    return util.docutils_rest_to_html(rest)
Exemplo n.º 2
0
 def docutils_rst2html(self, info):
     rest = info.object.selected_view.model.rest
     html_filepath = info.object.selected_view.model.html_filepath
     f = open(html_filepath, 'w')
     f.write(docutils_rest_to_html(rest)[0])
     f.close()
Exemplo n.º 3
0
 def docutils_rst2html(self, info):
     rest = info.object.selected_view.model.rest
     html_filepath = info.object.selected_view.model.html_filepath
     f = open(html_filepath, 'w')
     f.write(docutils_rest_to_html(rest)[0])
     f.close()
Exemplo n.º 4
0
def docutils_rest_to_html(rest):
    return util.docutils_rest_to_html(rest)