myst_parser.parsers.mdit#
This module holds the create_md_parser function,
which creates a parser from the config.
1. Module Contents#
1.1. Functions#
Return whether the optional |
|
Return a Markdown parser with the required MyST configuration. |
1.2. API#
- myst_parser.parsers.mdit.linkify_available() bool[source]#
Return whether the optional
linkify-it-pydependency is installed.
- myst_parser.parsers.mdit.create_md_parser(config: myst_parser.config.main.MdParserConfig, renderer: collections.abc.Callable[[markdown_it.main.MarkdownIt], markdown_it.renderer.RendererProtocol]) markdown_it.main.MarkdownIt[source]#
Return a Markdown parser with the required MyST configuration.