single py file for convert rst to html

linjunhalida picture linjunhalida · Sep 29, 2010 · Viewed 23.6k times · Source

I have a blog written in reStructuredText which I currently have to manually convert to HTML when I make a new post.

I'm writing a new blog system using Google App Engine and need a simple way of converting rst to HTML.

I don't want to use docutils because it is too big and complex. Is there a simpler (ideally single python file) way I can do this?

Answer

pyfunc picture pyfunc · Sep 29, 2010

docutils is a library that you can install. It also installs front end tools to convert from rest to various formats including html.

This is a stand alone tool that can be used.

Most converters will exploit the docutils library for this.