Skip to content

How to convert from markdown to reStructuredText

espenak edited this page Dec 14, 2012 · 1 revision

This is useful when moving docs from the wiki to the official documentation.

Install pandoc. Then use:

$ pandoc -s -r markdown -w rst path/to/file.md

to print the results to stdout, or:

$ pandoc -s -r markdown -w rst path/to/file.md -o path/to/file.rst

to write results to a file.

TIP: Check out the wiki from Git if you are porting docs (see the Git Access tab on the Wiki).

Clone this wiki locally