Class
MarkdownBlockHtmlRenderExtension
OfficeIMO.Markdown
Named HTML render extension that can override emitted HTML for a specific block type.
Inheritance
- object
- MarkdownBlockHtmlRenderExtension
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 MarkdownBlockHtmlRenderExtension(string name, Type blockType, MarkdownBlockHtmlRenderer renderHtml) #Creates an HTML block render extension registration.
Parameters
- name string
- blockType System.Type
- renderHtml OfficeIMO.Markdown.MarkdownBlockHtmlRenderer
Methods
public static MarkdownBlockHtmlRenderExtension CreateContextual(string name, Type blockType, MarkdownBlockHtmlContextualRenderer renderHtml) #Creates a context-aware HTML block render extension registration.
Parameters
- name string
- blockType System.Type
- renderHtml OfficeIMO.Markdown.MarkdownBlockHtmlContextualRenderer
public bool Matches(IMarkdownBlock block) #Returns true when the extension can render the provided block.
Parameters
- block OfficeIMO.Markdown.IMarkdownBlock
Returns
bool