Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

MarkdownFencedCodeBlockMatch

Namespace OfficeIMO.MarkdownRenderer
Assembly OfficeIMO.MarkdownRenderer
Modifiers sealed

Information about a rendered fenced code block matched by the renderer extension pipeline.

Inheritance

  • Object
  • MarkdownFencedCodeBlockMatch

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public MarkdownFencedCodeBlockMatch(String infoString, String htmlEncodedContent, String rawContent, String originalHtml) #

Creates a new fenced code block match payload.

Parameters

infoString System.String requiredposition: 0
htmlEncodedContent System.String requiredposition: 1
rawContent System.String requiredposition: 2
originalHtml System.String requiredposition: 3

Properties

public String Language { get; } #

Parsed primary fence language token.

public String InfoString { get; } #

Full fenced-code info string preserved from the AST/source block.

public MarkdownCodeFenceInfo FenceInfo { get; } #

Structured fenced-code info metadata.

public String HtmlEncodedContent { get; } #

HTML-encoded code contents as emitted by the markdown HTML renderer.

public String RawContent { get; } #

HTML-decoded raw code contents.

public String OriginalHtml { get; } #

Original HTML fragment for the matched <pre><code> block.