Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownNativeListItem

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Native projection for a list item.

Inheritance

  • object
  • MarkdownNativeListItem

Usage

Explore 8 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.

Accepted by parameters 4

Properties

public string Id { get; } #

Deterministic identity for this list item within stable markdown input.

public ListItem Item { get; } #

Source list item.

public MarkdownSyntaxNode SyntaxNode { get; } #

Syntax node that produced this list item.

public MarkdownSourceSpan? SourceSpan { get; } #

Full list-item source span in the normalized markdown text when available.

public MarkdownSourceSpan? ContentSourceSpan { get; } #

Source span for the list-item content, excluding list and task marker tokens, when available.

public string Text { get; } #

Plain-text lead content.

public InlineSequence Inlines { get; } #

Structured lead inline nodes.

public IReadOnlyList<MarkdownNativeInline> InlineRuns { get; } #

AST-backed native inline projection for the lead content.

public IReadOnlyList<MarkdownNativeListItemParagraph> Paragraphs { get; } #

MarkdownParagraph-level native projections owned by this list item.

public IReadOnlyList<InlineSequence> AdditionalParagraphs { get; } #

Additional paragraph inline nodes owned by this list item.

public IReadOnlyList<MarkdownNativeBlock> Children { get; } #

Nested native blocks, including lead paragraph blocks when present in the syntax tree.

public bool IsTask { get; } #

Whether this list item is a task item.

public bool Checked { get; } #

Whether this task item is checked.

public MarkdownSourceSpan? MarkerSourceSpan { get; } #

Source span for the list marker token when this item was parsed from markdown.

public string? MarkerText { get; } #

Exact list marker token when this item was parsed from markdown.

public MarkdownSourceSpan? TaskMarkerSourceSpan { get; } #

Source span for the task marker token when this item was parsed from markdown.

public string? TaskMarkerText { get; } #

Exact task marker token when this item was parsed from markdown.

public int Level { get; } #

Indentation level from the source list item.