MarkdownListItemSyntax Class

An item of a list: its marker, and its blocks.

public sealed class MarkdownListItemSyntax : MarkdownBlockSyntax
Inheritance
MarkdownBlockSyntax MarkdownListItemSyntax

Properties

NameDescription
BlocksGets the blocks of the item.
IsCheckedGets a value indicating whether the item is a task list item marked done: [x] or [X].
IsTaskGets a value indicating whether the item is a task list item of GitHub Flavored Markdown.
MarkerTokenGets the marker of the item: -, +, *, or a number followed by . or ).
TaskListItemMarkerTokenGets the [ ] or [x] of a task list item, or the default token for another item.

Gets the blocks of the item.

public ImmutableArray<MarkdownBlockSyntax> Blocks { get; }

Gets a value indicating whether the item is a task list item marked done: [x] or [X].

public bool IsChecked { get; }

Property value

bool

Gets a value indicating whether the item is a task list item of GitHub Flavored Markdown.

public bool IsTask { get; }

Property value

bool

Gets the marker of the item: -, +, *, or a number followed by . or ).

public SyntaxToken MarkerToken { get; }

Property value

SyntaxToken

TaskListItemMarkerToken

MarkdownListItemSyntax.cs

Gets the [ ] or [x] of a task list item, or the default token for another item.

public SyntaxToken TaskListItemMarkerToken { get; }

Property value

SyntaxToken

Methods

NameDescription
Accept(MarkdownSyntaxVisitor)
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

Accept overloads

Accept(MarkdownSyntaxVisitor)

MarkdownListItemSyntax.cs
public override void Accept(MarkdownSyntaxVisitor visitor)
Parameters
visitor MarkdownSyntaxVisitor

No documentation is available.

Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

MarkdownListItemSyntax.cs
public override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor MarkdownSyntaxVisitor<TResult>
Returns

TResult?

No documentation is available.