HtmlToMarkdownOptions
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| Options mkconvert._core Base class for the common option models. |
⋔ Inheritance diagram¶
graph TD
2983329459["base.HtmlToMarkdownOptions"]
849523002["_core.Options"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
849523002 --> 2983329459
3879467795 --> 849523002
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: Options
Common HTML -> Markdown options, mapped onto every converter.
Check HtmlToMarkdownConverter.supported_options for what a converter can change.
Source code in src/mkconvert/converters/base.py
bullet_marker
class-attribute
instance-attribute
¶
Marker for unordered list items.
code_block_style
class-attribute
instance-attribute
¶
Fenced or indented code blocks.
code_fence
class-attribute
instance-attribute
¶
Fence for fenced code blocks.
emphasis_marker
class-attribute
instance-attribute
¶
Marker for *emphasis* and **strong**.
heading_style
class-attribute
instance-attribute
¶
# Heading (atx) or underlined headings (setext, h1 / h2 only).
line_break
class-attribute
instance-attribute
¶
<br> as two trailing spaces or a trailing backslash.
link_style
class-attribute
instance-attribute
¶
[text](url) or [text][1] with the URLs collected at the end.
skip_tags
class-attribute
instance-attribute
¶
Tags to drop together with their content, e.g. ("script", "style").