[docutils] Add parsers.commonmark_wrapper (#14243)

This commit is contained in:
Semyon Moroz authored and GitHub committed 2025-07-07 17:41:55 +02:00
1 parent 0ca73211f3
commit 28d8ff1a80
2 files changed
+12 -1

No files matched your search

@@ -0,0 +1,10 @@
from typing import Literal
from typing_extensions import TypeAlias
from docutils import parsers
_ParserName: TypeAlias = Literal["pycmark", "myst", "recommonmark"]
commonmark_parser_names: tuple[_ParserName, ...]
Parser: type[parsers.Parser] # if Parser is None or parser_name is empty string, user cannot import current module
parser_name: _ParserName