API Reference
Class
MarkdownSyntaxInlineMarkdownRenderExtension
Named Markdown writer extension that can override emitted Markdown for inlines with a specific final syntax kind.
Inheritance
- Object
- MarkdownSyntaxInlineMarkdownRenderExtension
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public static MarkdownSyntaxInlineMarkdownRenderExtension CreateContextual(String name, MarkdownSyntaxKind kind, MarkdownSyntaxInlineMarkdownContextualRenderer renderMarkdown, String customKind = null) #Returns:
MarkdownSyntaxInlineMarkdownRenderExtensionCreates a context-aware Markdown inline render extension registration matched by syntax kind.
Parameters
- name System.String
- kind OfficeIMO.Markdown.MarkdownSyntaxKind
- renderMarkdown OfficeIMO.Markdown.MarkdownSyntaxInlineMarkdownContextualRenderer
- customKind System.String = null
public Boolean Matches(MarkdownSyntaxNode syntaxNode) #Returns:
BooleanReturns true when the extension can render the supplied syntax node.
Parameters
- syntaxNode OfficeIMO.Markdown.MarkdownSyntaxNode
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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 CustomKind.
public MarkdownSyntaxInlineMarkdownContextualRenderer RenderMarkdown { get; } #Context-aware Markdown rendering callback.