Class
MarkdownInlineHtmlRenderExtension
OfficeIMO.Markdown
Named HTML render extension that can override emitted HTML for a specific inline type.
Inheritance
- object
- MarkdownInlineHtmlRenderExtension
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.
Returned or exposed by 2
Constructors
public MarkdownInlineHtmlRenderExtension(string name, Type inlineType, MarkdownInlineHtmlRenderer renderHtml) #Creates an HTML inline render extension registration.
Parameters
- name string
- inlineType System.Type
- renderHtml OfficeIMO.Markdown.MarkdownInlineHtmlRenderer
Methods
public static MarkdownInlineHtmlRenderExtension CreateContextual(string name, Type inlineType, MarkdownInlineHtmlContextualRenderer renderHtml) #Creates a context-aware HTML inline render extension registration.
Parameters
- name string
- inlineType System.Type
- renderHtml OfficeIMO.Markdown.MarkdownInlineHtmlContextualRenderer
public bool Matches(IMarkdownInline inline) #Returns true when the extension can render the provided inline node.
Parameters
- inline OfficeIMO.Markdown.IMarkdownInline
Returns
boolInherited Methods
Properties
public string Name { get; } #Stable extension name used for inspection or de-duplication.
public Type InlineType { get; } #The inline type this extension handles.
public MarkdownInlineHtmlRenderer RenderHtml { get; } #HTML rendering callback.
public MarkdownInlineHtmlContextualRenderer RenderHtmlWithContext { get; } #Context-aware HTML rendering callback.