API Reference
Class
FootnoteDefinitionBlock
Footnote definition block, e.g., [^id]: content.
Inheritance
- MarkdownBlock
- FootnoteDefinitionBlock
Constructors
public FootnoteDefinitionBlock(String label, String text) #Create a new footnote definition.
Parameters
- label System.String
- Identifier used by references.
- text System.String
- Definition text.
Inherited Methods
public Void Accept(MarkdownVisitor visitor) #Returns:
VoidInherited from MarkdownObject
Parameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<MarkdownObject> AncestorsAndSelf() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #Returns:
IEnumerable<TObject>Inherited from MarkdownObject
Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.
Inherited Properties
public MarkdownObject Parent { get; } #Inherited from MarkdownObject
public MarkdownDoc Document { get; } #Inherited from MarkdownObject
public MarkdownObject Root { get; } #Inherited from MarkdownObject
public Nullable<Int32> IndexInParent { get; } #Inherited from MarkdownObject
public MarkdownObject PreviousSibling { get; } #Inherited from MarkdownObject
public MarkdownObject NextSibling { get; } #Inherited from MarkdownObject
public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #Inherited from MarkdownObject
public IReadOnlyList<MarkdownObject> ChildObjects { get; } #Inherited from MarkdownObject