HtmlToMarkdownOptions Class
Options that control how HTML is converted to Markdown.
public sealed class HtmlToMarkdownOptionsConstructors
| Name | Description |
|---|---|
| HtmlToMarkdownOptions() |
HtmlToMarkdownOptions()
HtmlToMarkdownOptions.cspublic HtmlToMarkdownOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| CodeBlockFenceCharacter | Gets or sets the fence character used for fenced code blocks. |
| CodeBlockStyle | Gets or sets the style used for code blocks. |
| ComplexTableHandling | Gets or sets how the tables that a pipe table cannot represent are converted. |
| EmbeddedContentStyle | Gets or sets how video, audio and iframe elements are converted. |
| EmojiShortcodeMode | Gets or sets how emoji are converted to shortcodes. |
| EmphasisMarker | Gets or sets the marker used for emphasis. |
| HeadingStyle | Gets or sets the heading style to use in Markdown output. |
| KeyboardStyle | Gets or sets how keyboard input (kbd) elements are converted. |
| LineBreakStyle | Gets or sets the style used for line breaks. |
| SubscriptStyle | Gets or sets how subscript (sub) elements are converted. |
| SuperscriptStyle | Gets or sets how superscript (sup) elements are converted. |
| TableSpanHandling | Gets or sets how the colspan and rowspan attributes of table cells are handled. |
| ThematicBreak | Gets or sets the thematic break text to emit for horizontal rules. |
| UnderlineStyle | Gets or sets how underline (u) elements are converted. |
| UnknownElementHandling | Gets or sets how unknown HTML elements are handled. |
| UnorderedListMarker | Gets or sets the marker used for unordered lists. |
| UseCssWhiteSpace | Gets or sets a value indicating whether the white-space and white-space-collapse declarations of the style attributes are honored. When true, the spaces and the line breaks that the style preserves are written as and as hard line breaks. |
| UseSimplePunctuation | Gets or sets a value indicating whether smart punctuation characters are converted to simple ASCII punctuation. |
CodeBlockFenceCharacter
HtmlToMarkdownOptions.csGets or sets the fence character used for fenced code blocks.
public char CodeBlockFenceCharacter { get; set; }CodeBlockStyle
HtmlToMarkdownOptions.csGets or sets the style used for code blocks.
public CodeBlockStyle CodeBlockStyle { get; set; }Property value
ComplexTableHandling
HtmlToMarkdownOptions.csGets or sets how the tables that a pipe table cannot represent are converted.
public ComplexTableHandling ComplexTableHandling { get; set; }Property value
EmbeddedContentStyle
HtmlToMarkdownOptions.csGets or sets how video, audio and iframe elements are converted.
public EmbeddedContentStyle EmbeddedContentStyle { get; set; }Property value
EmojiShortcodeMode
HtmlToMarkdownOptions.csGets or sets how emoji are converted to shortcodes.
public EmojiShortcodeMode EmojiShortcodeMode { get; set; }Property value
EmphasisMarker
HtmlToMarkdownOptions.csGets or sets the marker used for emphasis.
public EmphasisMarker EmphasisMarker { get; set; }Property value
HeadingStyle
HtmlToMarkdownOptions.csGets or sets the heading style to use in Markdown output.
public HeadingStyle HeadingStyle { get; set; }Property value
KeyboardStyle
HtmlToMarkdownOptions.csGets or sets how keyboard input (kbd) elements are converted.
public KeyboardStyle KeyboardStyle { get; set; }Property value
LineBreakStyle
HtmlToMarkdownOptions.csGets or sets the style used for line breaks.
public LineBreakStyle LineBreakStyle { get; set; }Property value
SubscriptStyle
HtmlToMarkdownOptions.csGets or sets how subscript (sub) elements are converted.
public SubscriptStyle SubscriptStyle { get; set; }Property value
SuperscriptStyle
HtmlToMarkdownOptions.csGets or sets how superscript (sup) elements are converted.
public SuperscriptStyle SuperscriptStyle { get; set; }Property value
TableSpanHandling
HtmlToMarkdownOptions.csGets or sets how the colspan and rowspan attributes of table cells are handled.
public TableSpanHandling TableSpanHandling { get; set; }Property value
ThematicBreak
HtmlToMarkdownOptions.csUnderlineStyle
HtmlToMarkdownOptions.csGets or sets how underline (u) elements are converted.
public UnderlineStyle UnderlineStyle { get; set; }Property value
UnknownElementHandling
HtmlToMarkdownOptions.csGets or sets how unknown HTML elements are handled.
public UnknownElementHandling UnknownElementHandling { get; set; }Property value
UnorderedListMarker
HtmlToMarkdownOptions.csGets or sets the marker used for unordered lists.
public char UnorderedListMarker { get; set; }UseCssWhiteSpace
HtmlToMarkdownOptions.csGets or sets a value indicating whether the white-space and white-space-collapse declarations of the style attributes are honored. When true, the spaces and the line breaks that the style preserves are written as and as hard line breaks.
public bool UseCssWhiteSpace { get; set; }