Merge pull request #18 from jezdez/patch-2

Unindent code examples in README.
This commit is contained in:
Anthony 2015-10-29 16:57:16 -07:00
commit 29d175c7cb

View file

@ -17,19 +17,19 @@ To use `recommonmark` inside of Sphinx only takes 2 steps.
First you install it: First you install it:
``` ```
pip install recommonmark pip install recommonmark
``` ```
Then add this to your Sphinx conf.py: Then add this to your Sphinx conf.py:
``` ```
from recommonmark.parser import CommonMarkParser from recommonmark.parser import CommonMarkParser
source_parsers = { source_parsers = {
'.md': CommonMarkParser, '.md': CommonMarkParser,
} }
source_suffix = ['.rst', '.md'] source_suffix = ['.rst', '.md']
``` ```
This allows you to write both `.md` and `.rst` files inside of the same project. This allows you to write both `.md` and `.rst` files inside of the same project.