Skip to content

Commit

Permalink
Merge branch 'master' into update-mdit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell authored Dec 18, 2020
2 parents 1fcf115 + ebed2a5 commit d4e4a03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/using/use_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ Token(type='paragraph_close', tag='p', nesting=-1, attrs=None, map=None, level=0
The `default_parser` function loads a standard markdown-it parser with the default syntax rules for MyST.

```python
from myst_parser.main import default_parser
parser = default_parser("html")
from myst_parser.main import default_parser, MdParserConfig
config = MdParserConfig(renderer="html")
parser = default_parser(config)
parser
```

Expand Down

0 comments on commit d4e4a03

Please sign in to comment.