Class
MarkdownInlineMarkdownRenderExtension
OfficeIMO.Markdown
Named Markdown render extension that can override emitted Markdown for a specific inline type.
Inheritance
- object
- MarkdownInlineMarkdownRenderExtension
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 MarkdownInlineMarkdownRenderExtension(string name, Type inlineType, MarkdownInlineMarkdownRenderer renderMarkdown) #Creates a Markdown inline render extension registration.
Parameters
- name string
- inlineType System.Type
- renderMarkdown OfficeIMO.Markdown.MarkdownInlineMarkdownRenderer
Methods
public static MarkdownInlineMarkdownRenderExtension CreateContextual(string name, Type inlineType, MarkdownInlineMarkdownContextualRenderer renderMarkdown) #Creates a context-aware Markdown inline render extension registration.
Parameters
- name string
- inlineType System.Type
- renderMarkdown OfficeIMO.Markdown.MarkdownInlineMarkdownContextualRenderer
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 MarkdownInlineMarkdownRenderer RenderMarkdown { get; } #Markdown rendering callback.
public MarkdownInlineMarkdownContextualRenderer RenderMarkdownWithContext { get; } #Context-aware Markdown rendering callback.