API Reference
Class
MarkdownNativeFrontMatterBlock
Native projection for front matter.
Inheritance
- MarkdownNativeBlock
- MarkdownNativeFrontMatterBlock
Inherited Methods
public Boolean ContainsLine(Int32 lineNumber) #Returns:
BooleanInherited from MarkdownNativeBlock
Parameters
- lineNumber Int32
public IEnumerable<MarkdownNativeBlockSourceField> EnumerateSourceFields(String name) #Returns:
IEnumerable<MarkdownNativeBlockSourceField>Inherited from MarkdownNativeBlock
Parameters
- name String
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public MarkdownNativeBlockSourceField FindSourceField(String name, Int32 index = -1) #Returns:
MarkdownNativeBlockSourceFieldInherited from MarkdownNativeBlock
Parameters
- name String
- index Int32 = -1
public MarkdownNativeBlockSnapshot ToSnapshot() #Returns:
MarkdownNativeBlockSnapshotInherited from MarkdownNativeBlock
Properties
public FrontMatterBlock FrontMatter { get; } #Source front matter block.
public IReadOnlyList<Entry> Entries { get; } #Structured front matter entries in source order.
public IReadOnlyDictionary<String, Object> Values { get; } #Front matter values by key.
public String RawYaml { get; } #Raw YAML payload between the front matter fence markers when parsed from markdown.
public Nullable<MarkdownSourceSpan> BodySourceSpan { get; } #Source span for the raw YAML payload between the front matter fence markers.
public Nullable<MarkdownSourceSpan> OpeningFenceSourceSpan { get; } #Source span for the opening front matter fence marker when parsed from markdown.
public Nullable<MarkdownSourceSpan> ClosingFenceSourceSpan { get; } #Source span for the closing front matter fence marker when parsed from markdown.
Inherited Properties
public String Id { get; } #Inherited from MarkdownNativeBlock
public MarkdownNativeBlockKind Kind { get; } #Inherited from MarkdownNativeBlock
public Nullable<MarkdownSourceSpan> SourceSpan { get; } #Inherited from MarkdownNativeBlock
public MarkdownSyntaxNode SyntaxNode { get; } #Inherited from MarkdownNativeBlock
public IMarkdownBlock SourceBlock { get; } #Inherited from MarkdownNativeBlock