MarkdownNativeBlockInfo
OfficeIMO.Markdown
UI-safe snapshot of a native block.
Inheritance
- object
- MarkdownNativeBlockInfo
Usage
Explore 23 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 23
- Method MarkdownNativeBlock.ToSnapshot
- Property MarkdownNativeBlockInfo.Children
- Method MarkdownNativeCalloutBlock.ToSnapshot
- Method MarkdownNativeCodeBlock.ToSnapshot
- Method MarkdownNativeCustomContainerBlock.ToSnapshot
- Method MarkdownNativeDefinitionListBlock.ToSnapshot
- Property MarkdownNativeDefinitionListDefinitionInfo.Children
- Method MarkdownNativeDetailsBlock.ToSnapshot
- Property MarkdownNativeDocumentInfo.Blocks
- Method MarkdownNativeFootnoteDefinitionBlock.ToSnapshot
- Method MarkdownNativeFrontMatterBlock.ToSnapshot
- Method MarkdownNativeHeadingBlock.ToSnapshot
- Method MarkdownNativeHtmlBlock.ToSnapshot
- Method MarkdownNativeImageBlock.ToSnapshot
- Method MarkdownNativeListBlock.ToSnapshot
- Property MarkdownNativeListItemInfo.Children
- Method MarkdownNativeOtherBlock.ToSnapshot
- Method MarkdownNativeParagraphBlock.ToSnapshot
- Method MarkdownNativeQuoteBlock.ToSnapshot
- Method MarkdownNativeTableBlock.ToSnapshot
- Property MarkdownNativeTableCellInfo.Children
- Method MarkdownNativeThematicBreakBlock.ToSnapshot
- Method MarkdownNativeVisualBlock.ToSnapshot
Methods
public IEnumerable<MarkdownNativeBlockSourceFieldInfo> EnumerateSourceFields(string name) #Enumerates source-backed fields with the supplied field name in source order.
Parameters
- name string
Returns
IEnumerable<MarkdownNativeBlockSourceFieldInfo>public MarkdownNativeBlockSourceFieldInfo? FindSourceField(string name, int index = -1) #Finds the first source-backed field with the supplied name, optionally constrained to a repeated-field occurrence index.
Parameters
- name string
- index int = -1
Inherited Methods
Properties
public MarkdownNativeBlockKind Kind { get; internal set; } #Native block kind.
public MarkdownNativeSourceSpanInfo? SourceSpan { get; internal set; } #Source span snapshot when available.
public string? Text { get; internal set; } #Common text payload when the block exposes one.
public string? Markdown { get; internal set; } #Common markdown payload when the block exposes one.
public IReadOnlyDictionary<string, string?> Fields { get; internal set; } #String fields for block-specific metadata.
public IReadOnlyDictionary<string, MarkdownNativeSourceSpanInfo?> FieldSourceSpans { get; internal set; } #Source spans for block-specific metadata fields when available.
public IReadOnlyList<MarkdownNativeBlockSourceFieldInfo> SourceFields { get; internal set; } #Source-backed token and payload fields in source order, including repeated fields.
public IReadOnlyList<MarkdownNativeSourceSpanInfo> MarkerSourceSpans { get; internal set; } #Source spans for repeated marker tokens owned by this block, such as blockquote markers.
public IReadOnlyList<MarkdownNativeInlineInfo> Inlines { get; internal set; } #Inline snapshots owned directly by this block.
public IReadOnlyList<MarkdownNativeBlockInfo> Children { get; internal set; } #Nested child block snapshots.
public IReadOnlyList<MarkdownNativeListItemInfo> Items { get; internal set; } #List item snapshots for native list blocks.
public IReadOnlyList<MarkdownNativeDefinitionListGroupInfo> DefinitionGroups { get; internal set; } #Definition-list group snapshots for native definition list blocks.
public IReadOnlyList<MarkdownNativeTableCellInfo> HeaderCells { get; internal set; } #MarkdownTable header cell snapshots.
public MarkdownNativeTableRowInfo? HeaderRow { get; internal set; } #MarkdownTable header row snapshot when available.
public IReadOnlyList<IReadOnlyList<MarkdownNativeTableCellInfo>> Rows { get; internal set; } #MarkdownTable body row snapshots.
public IReadOnlyList<MarkdownNativeTableRowInfo> BodyRows { get; internal set; } #MarkdownTable body row object snapshots.