Skip to content

Commit bbbaba0

Browse files
authored
Improve README (#340)
1 parent a479316 commit bbbaba0

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,28 @@ for even more speed!
3333

3434
## Installation
3535

36+
### PIP
37+
3638
```bash
37-
conda install -c conda-forge markdown-it-py
39+
pip install markdown-it-py[plugins]
3840
```
3941

40-
or
42+
or with extras
4143

4244
```bash
43-
pip install markdown-it-py[plugins]
45+
pip install markdown-it-py[linkify,plugins]
46+
```
47+
48+
### Conda
49+
50+
```bash
51+
conda install -c conda-forge markdown-it-py
4452
```
4553

4654
or with extras
4755

4856
```bash
4957
conda install -c conda-forge markdown-it-py linkify-it-py mdit-py-plugins
50-
pip install markdown-it-py[linkify,plugins]
5158
```
5259

5360
## Usage
@@ -63,7 +70,7 @@ from mdit_py_plugins.front_matter import front_matter_plugin
6370
from mdit_py_plugins.footnote import footnote_plugin
6471

6572
md = (
66-
MarkdownIt('commonmark' ,{'breaks':True,'html':True})
73+
MarkdownIt('commonmark', {'breaks':True,'html':True})
6774
.use(front_matter_plugin)
6875
.use(footnote_plugin)
6976
.enable('table')

0 commit comments

Comments
 (0)