Skip to content

Instantly share code, notes, and snippets.

@witoszekdev
Created April 27, 2018 20:52
Show Gist options
  • Save witoszekdev/63fc75cc50e747ca5e4e6cfa0ba4e94f to your computer and use it in GitHub Desktop.
Save witoszekdev/63fc75cc50e747ca5e4e6cfa0ba4e94f to your computer and use it in GitHub Desktop.
Convert README.md to README.rst for PyPI publishing

Firstly install pandoc using pip:

pip install pandoc

or if you're using Mac:

brew install pandoc

Go to your main project directory and type

pandoc --from=markdown --to=rst --output=README.rst README.md

Voila!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment