Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownFencedBlockExtension

OfficeIMO.Markdown

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

Defines a language-based fenced block parser extension.

Inheritance

  • object
  • MarkdownFencedBlockExtension

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.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public MarkdownFencedBlockExtension(string name, IEnumerable<string> languages, MarkdownFencedBlockFactory createBlock) #

Creates a new fenced block extension.

Parameters

name string required
languages System.Collections.Generic.IEnumerable<string> required
createBlock OfficeIMO.Markdown.MarkdownFencedBlockFactory required

Properties

public string Name { get; } #

Friendly extension name used for diagnostics and documentation.

public IReadOnlyList<string> Languages { get; } #

Fence languages handled by this extension.

public MarkdownFencedBlockFactory CreateBlock { get; } #

Factory invoked for matching fenced blocks during parsing.