Class
MarkdownHtmlInlineConversionContext
OfficeIMO.Markdown.Html
Context passed to custom HTML inline-element converters.
Inheritance
- object
- MarkdownHtmlInlineConversionContext
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 InlineSequence ConvertChildNodesToInlineSequence() #Converts the current element's children into an inline markdown sequence using the current conversion profile.
Returns
InlineSequencepublic InlineSequence ConvertNodesToInlineSequence(IEnumerable<HtmlNode?>? nodes) #Converts the supplied HTML nodes into an inline markdown sequence using the current conversion profile. Missing collections and null entries contribute no output; non-null nodes must belong to this callback snapshot.
Parameters
- nodes System.Collections.Generic.IEnumerable<OfficeIMO.Html.Dom.HtmlNode?>?
Returns
InlineSequencepublic string NormalizeInlineText(string? value) #Normalizes plain inline text using HTML-style collapsed whitespace rules.
Parameters
- value string?
Returns
stringInherited Methods
Properties
public HtmlMarkdownExportOptions Options { get; } #Active HTML-to-markdown options.