MarkdownNativeDetailsBlock
OfficeIMO.Markdown
Native projection for a details/disclosure block.
Inheritance
- MarkdownNativeBlock
- MarkdownNativeDetailsBlock
Inherited Methods
public bool ContainsLine(int lineNumber) #Parameters
- lineNumber int
Returns
boolpublic IEnumerable<MarkdownNativeBlockSourceField> EnumerateSourceFields() #Returns
IEnumerable<MarkdownNativeBlockSourceField>public IEnumerable<MarkdownNativeBlockSourceField> EnumerateSourceFields(string name) #Parameters
- name string
Returns
IEnumerable<MarkdownNativeBlockSourceField>public MarkdownNativeBlockSourceField? FindSourceField(string name, int index = -1) #Parameters
- name string
- index int = -1
Returns
MarkdownNativeBlockSourceField?public MarkdownNativeBlockInfo ToSnapshot() #Returns
MarkdownNativeBlockInfoProperties
public bool Open { get; } #Whether the details element is initially expanded.
public string? OpeningTag { get; } #Exact parsed details opening tag when available.
public string? ClosingTag { get; } #Exact parsed details closing tag when available.
public MarkdownSourceSpan? OpeningTagSourceSpan { get; } #Source span for the parsed details opening tag when available.
public MarkdownSourceSpan? ClosingTagSourceSpan { get; } #Source span for the parsed details closing tag when available.
public string? Summary { get; } #Plain-text summary when available.
public MarkdownSourceSpan? SummarySourceSpan { get; } #Source span for the summary element when available.
public string? SummaryOpeningTag { get; } #Exact parsed summary opening tag when available.
public string? SummaryText { get; } #Exact parsed summary text when available.
public string? SummaryClosingTag { get; } #Exact parsed summary closing tag when available.
public MarkdownSourceSpan? SummaryOpeningTagSourceSpan { get; } #Source span for the parsed summary opening tag when available.
public MarkdownSourceSpan? SummaryTextSourceSpan { get; } #Source span for the parsed summary text when available.
public MarkdownSourceSpan? SummaryClosingTagSourceSpan { get; } #Source span for the parsed summary closing tag when available.
public InlineSequence? SummaryInlines { get; } #Structured summary inline nodes when available.
public IReadOnlyList<MarkdownNativeInline> SummaryInlineRuns { get; } #AST-backed native summary inline projection with source spans.
public MarkdownSourceSpan? BodySourceSpan { get; } #Source span for the structured details body when available.
public IReadOnlyList<MarkdownNativeBlock> Children { get; } #Nested native body blocks.
Inherited Properties
public MarkdownNativeBlockKind Kind { get; } #public MarkdownSourceSpan? SourceSpan { get; } #public MarkdownSyntaxNode SyntaxNode { get; } #public IMarkdownBlock SourceBlock { get; } #