Class
MarkdownHtmlInlineConverter
OfficeIMO.Markdown.Html
Custom inline HTML element decoder used during HTML-to-markdown conversion.
Inheritance
- object
- MarkdownHtmlInlineConverter
Usage
Explore 1 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.
Returned or exposed by 1
Constructors
public MarkdownHtmlInlineConverter(string id, string name, Func<MarkdownHtmlInlineConversionContext, IReadOnlyList<IMarkdownInline>?> converter) #Creates a new custom inline HTML element converter.
Parameters
- id string
- name string
- converter System.Func<OfficeIMO.Markdown.Html.MarkdownHtmlInlineConversionContext, System.Collections.Generic.IReadOnlyList<OfficeIMO.Markdown.IMarkdownInline>?>
Methods
public IReadOnlyList<IMarkdownInline>? Convert(MarkdownHtmlInlineConversionContext context) #Attempts to convert a matching HTML inline element into markdown inline nodes.
Parameters
- context OfficeIMO.Markdown.Html.MarkdownHtmlInlineConversionContext
Returns
IReadOnlyList<IMarkdownInline>?