Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownInlineMarkdownRenderExtension

OfficeIMO.Markdown

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

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.

Constructors

public MarkdownInlineMarkdownRenderExtension(string name, Type inlineType, MarkdownInlineMarkdownRenderer renderMarkdown) #

Creates a Markdown inline render extension registration.

Parameters

name string required
inlineType System.Type required
renderMarkdown OfficeIMO.Markdown.MarkdownInlineMarkdownRenderer required

Methods

public static MarkdownInlineMarkdownRenderExtension CreateContextual(string name, Type inlineType, MarkdownInlineMarkdownContextualRenderer renderMarkdown) #

Creates a context-aware Markdown inline render extension registration.

Parameters

name string required
inlineType System.Type required
renderMarkdown OfficeIMO.Markdown.MarkdownInlineMarkdownContextualRenderer 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 MarkdownInlineMarkdownRenderer RenderMarkdown { get; } #

Markdown rendering callback.

public MarkdownInlineMarkdownContextualRenderer RenderMarkdownWithContext { get; } #

Context-aware Markdown rendering callback.