Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownInlineParserExtension

OfficeIMO.Markdown

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

Named custom inline parser registration used by MarkdownReader.

Inheritance

  • object
  • MarkdownInlineParserExtension

Usage

Explore 1 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 1

Constructors

public MarkdownInlineParserExtension(string name, MarkdownInlineParser parser, Func<MarkdownLoadOptions, bool>? isEnabled = null) #

Creates an inline parser extension registration.

Parameters

name string required
parser OfficeIMO.Markdown.MarkdownInlineParser required
isEnabled System.Func<OfficeIMO.Markdown.MarkdownLoadOptions, bool>? = null optional

Methods

public bool AppliesTo(MarkdownLoadOptions options) #

Returns true when the extension should participate in parsing.

Parameters

options OfficeIMO.Markdown.MarkdownLoadOptions required

Returns

bool

Properties

public string Name { get; } #

Stable extension name used for diagnostics and inspection.

public MarkdownInlineParser Parser { get; } #

Parser delegate contributed by this extension.

public Func<MarkdownLoadOptions, bool>? IsEnabled { get; } #

Optional predicate that decides whether the extension should apply for a specific options instance.