Skip to content

Commit b232bf1

Browse files
authored
📚 DOCS: Fix docstring (#99)
1 parent f016794 commit b232bf1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

markdown_it/main.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,10 @@ def enable(
133133
containing rules with given names. If rule not found, and `ignoreInvalid`
134134
not set - throws exception.
135135
136-
##### Example
136+
Example::
137+
138+
md = MarkdownIt().enable(['sub', 'sup']).disable('smartquotes')
137139
138-
```python
139-
md = MarkdownIt()..enable(['sub', 'sup']).disable('smartquotes')
140-
```
141140
"""
142141
result = []
143142

0 commit comments

Comments
 (0)