Class
MarkdownInlineParserExtension
OfficeIMO.Markdown
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
- parser OfficeIMO.Markdown.MarkdownInlineParser
- isEnabled System.Func<OfficeIMO.Markdown.MarkdownLoadOptions, bool>? = null
Methods
public bool AppliesTo(MarkdownLoadOptions options) #Returns true when the extension should participate in parsing.
Parameters
- options OfficeIMO.Markdown.MarkdownLoadOptions
Returns
boolInherited Methods
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.