mirror of
https://github.com/vale981/recommonmark
synced 2025-03-05 10:01:39 -05:00
Unindent code examples in README.
This prevents copying leading spaces.
This commit is contained in:
parent
935f66e303
commit
a9042d9ad5
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -17,19 +17,19 @@ To use `recommonmark` inside of Sphinx only takes 2 steps.
|
|||
First you install it:
|
||||
|
||||
```
|
||||
pip install recommonmark
|
||||
pip install recommonmark
|
||||
```
|
||||
|
||||
Then add this to your Sphinx conf.py:
|
||||
|
||||
```
|
||||
from recommonmark.parser import CommonMarkParser
|
||||
from recommonmark.parser import CommonMarkParser
|
||||
|
||||
source_parsers = {
|
||||
'.md': CommonMarkParser,
|
||||
}
|
||||
source_parsers = {
|
||||
'.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.
|
||||
|
|
Loading…
Add table
Reference in a new issue