Class
MarkdownHtmlBlockConversionContext
OfficeIMO.Markdown.Html
Context supplied to HTML element block converters.
Inheritance
- object
- MarkdownHtmlBlockConversionContext
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 2
Methods
public IReadOnlyList<IMarkdownBlock> ConvertChildNodesToBlocks() #Converts the current element's child nodes using the base block converter.
Returns
IReadOnlyList<IMarkdownBlock>public InlineSequence ConvertChildNodesToInlineSequence() #Converts the current element's child nodes using the base inline converter.
Returns
InlineSequencepublic IReadOnlyList<IMarkdownBlock> ConvertNodesToBlocks(IEnumerable<HtmlNode?> nodes) #Converts the supplied nodes using the base block converter, skipping null entries.
Parameters
- nodes System.Collections.Generic.IEnumerable<OfficeIMO.Html.Dom.HtmlNode?>
Returns
IReadOnlyList<IMarkdownBlock>public InlineSequence ConvertNodesToInlineSequence(IEnumerable<HtmlNode?> nodes) #Converts the supplied nodes using the base inline converter, skipping null entries.
Parameters
- nodes System.Collections.Generic.IEnumerable<OfficeIMO.Html.Dom.HtmlNode?>
Returns
InlineSequencepublic string NormalizeBlockText(string? value) #Normalizes HTML text content using the base block text rules.
Parameters
- value string?
Returns
string