Class
MarkdownSyntaxInlineHtmlRenderExtension
OfficeIMO.Markdown
Named HTML render extension that can override emitted HTML for inlines with a specific final syntax kind.
Inheritance
- object
- MarkdownSyntaxInlineHtmlRenderExtension
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
Methods
public static MarkdownSyntaxInlineHtmlRenderExtension CreateContextual(string name, MarkdownSyntaxKind kind, MarkdownSyntaxInlineHtmlContextualRenderer renderHtml, string? customKind = null) #Creates a context-aware HTML inline render extension registration matched by syntax kind.
Parameters
- name string
- kind OfficeIMO.Markdown.MarkdownSyntaxKind
- renderHtml OfficeIMO.Markdown.MarkdownSyntaxInlineHtmlContextualRenderer
- customKind string? = null
public bool Matches(MarkdownSyntaxNode syntaxNode) #Returns true when the extension can render the supplied syntax node.
Parameters
- syntaxNode OfficeIMO.Markdown.MarkdownSyntaxNode
Returns
boolInherited Methods
Properties
public string Name { get; } #Stable extension name used for inspection or de-duplication.
public MarkdownSyntaxKind Kind { get; } #The final syntax kind this extension handles.
public string? CustomKind { get; } #Optional custom extension kind to require when matching MarkdownSyntaxNode.CustomKind.
public MarkdownSyntaxInlineHtmlContextualRenderer RenderHtml { get; } #Context-aware HTML rendering callback.