myst_parser.parsers.mdit

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#

create_md_parser

Return a Markdown parser with the required MyST configuration.

1.2.  API#

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[源代码]#

Return a Markdown parser with the required MyST configuration.