v0.5.3
- Мелкие исправления увеличивающие работу конвертера
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
"""
|
||||
Shared AST-walking building blocks for the md2gost export backends.
|
||||
|
||||
`md2latex` and `md2fodt` consume the same extended-markdown AST produced by
|
||||
`md2gost.extended_markdown` and differ only in how each node is serialised.
|
||||
This package holds the traversal and the backend-independent parsing so the
|
||||
two emitters keep only their formatting code.
|
||||
"""
|
||||
|
||||
from .blocks import (
|
||||
BlockVisitor,
|
||||
PendingCaption,
|
||||
caption_tuple,
|
||||
is_contents_heading,
|
||||
match_bibliography,
|
||||
parse_image_caption,
|
||||
walk_blocks,
|
||||
walk_paragraph,
|
||||
)
|
||||
from .inline import (
|
||||
REFERENCE_FULL_NAMES,
|
||||
InlineRenderer,
|
||||
reference_full_name,
|
||||
render_inline,
|
||||
)
|
||||
from .labels import sanitize_label
|
||||
|
||||
__all__ = [
|
||||
"REFERENCE_FULL_NAMES",
|
||||
"BlockVisitor",
|
||||
"InlineRenderer",
|
||||
"PendingCaption",
|
||||
"caption_tuple",
|
||||
"is_contents_heading",
|
||||
"match_bibliography",
|
||||
"parse_image_caption",
|
||||
"reference_full_name",
|
||||
"render_inline",
|
||||
"sanitize_label",
|
||||
"walk_blocks",
|
||||
"walk_paragraph",
|
||||
]
|
||||
Reference in New Issue
Block a user