OfficeIMO

API Reference

Class

FootnoteDefinitionBlock

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Implements
IMarkdownBlock IChildMarkdownBlockContainer ISyntaxChildrenMarkdownBlock IOwnedSyntaxChildrenMarkdownBlock ISyntaxMarkdownBlock IFootnoteSectionMarkdownBlock
Modifiers sealed

Footnote definition block, e.g., [^id]: content.

Inheritance

Constructors

public FootnoteDefinitionBlock(String label, String text) #

Create a new footnote definition.

Parameters

label System.String requiredposition: 0
Identifier used by references.
text System.String requiredposition: 1
Definition text.

Properties

public String Label { get; } #

Footnote label (identifier without the leading ^).

public String Text { get; } #

Footnote text content. When parsed child blocks are available, this is derived from them.

public IReadOnlyList<IMarkdownBlock> Blocks { get; } #

Parsed child blocks of the footnote definition. Paragraph-only footnotes keep this aligned with ParagraphBlocks, while richer producers can preserve headings, code blocks, and other block types here.

public IReadOnlyList<InlineSequence> Paragraphs { get; } #

Parsed paragraphs of the footnote definition (when created by the reader). When empty, renderers may fall back to parsing Text as a single inline sequence.

public IReadOnlyList<ParagraphBlock> ParagraphBlocks { get; } #

Parsed paragraph blocks of the footnote definition (when created by the reader). This exposes footnote content as owned block children for AST-style consumers.