Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownInlineHtmlRenderExtension

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
ba25b5a1c0ef with working tree changes
Modifiers
sealed

Named HTML render extension that can override emitted HTML for a specific inline type.

Inheritance

  • object
  • MarkdownInlineHtmlRenderExtension

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.

Constructors

public MarkdownInlineHtmlRenderExtension(string name, Type inlineType, MarkdownInlineHtmlRenderer renderHtml) #

Creates an HTML inline render extension registration.

Parameters

name string required
inlineType System.Type required
renderHtml OfficeIMO.Markdown.MarkdownInlineHtmlRenderer required

Methods

public static MarkdownInlineHtmlRenderExtension CreateContextual(string name, Type inlineType, MarkdownInlineHtmlContextualRenderer renderHtml) #

Creates a context-aware HTML inline render extension registration.

Parameters

name string required
inlineType System.Type required
renderHtml OfficeIMO.Markdown.MarkdownInlineHtmlContextualRenderer required
public bool Matches(IMarkdownInline inline) #

Returns true when the extension can render the provided inline node.

Parameters

inline OfficeIMO.Markdown.IMarkdownInline required

Returns

bool

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 MarkdownInlineHtmlRenderer RenderHtml { get; } #

HTML rendering callback.

public MarkdownInlineHtmlContextualRenderer RenderHtmlWithContext { get; } #

Context-aware HTML rendering callback.