Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IContextualHtmlMarkdownBlock

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Modifiers
abstract

Allows a block to render HTML with access to the surrounding body render context. Custom blocks can implement this when their HTML output depends on MarkdownHtmlExportOptions or the surrounding block list rather than only the block's own local state.

Methods

public abstract string RenderHtml(MarkdownBodyRenderContext context) #

Renders the block to HTML using the supplied body render context.

Parameters

context OfficeIMO.Markdown.MarkdownBodyRenderContext required
Current body render context.

Returns

string Rendered HTML for the block.