How to render .rst files in a markdown or html format?

Eric picture Eric · Apr 6, 2010 · Viewed 54k times · Source

In many django projects, in the docs directory I can see *.rst files:

Is there a standard, simple, or common way of rendering and displaying these, instead of viewing their contents as plain text?

Is it possible to generate HTML from the .rst files?

Answer

Mike DeSimone picture Mike DeSimone · Apr 6, 2010

.rst files are ReStructuredText format. They look like text files, but can be rendered into HTML with the Python docutils package.