MarkdownListItemSyntax Class
An item of a list: its marker, and its blocks.
public sealed class MarkdownListItemSyntax : MarkdownBlockSyntax- Inheritance
MarkdownBlockSyntaxMarkdownListItemSyntax
Properties
| Name | Description |
|---|---|
| Blocks | Gets the blocks of the item. |
| IsChecked | Gets a value indicating whether the item is a task list item marked done: [x] or [X]. |
| IsTask | Gets a value indicating whether the item is a task list item of GitHub Flavored Markdown. |
| MarkerToken | Gets the marker of the item: -, +, *, or a number followed by . or ). |
| TaskListItemMarkerToken | Gets 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; }Property value
IsChecked
MarkdownListItemSyntax.csMarkerToken
MarkdownListItemSyntax.csGets the marker of the item: -, +, *, or a number followed by . or ).
public SyntaxToken MarkerToken { get; }Property value
TaskListItemMarkerToken
MarkdownListItemSyntax.csGets the [ ] or [x] of a task list item, or the default token for another item.
public SyntaxToken TaskListItemMarkerToken { get; }Property value
Methods
| Name | Description |
|---|---|
| Accept(MarkdownSyntaxVisitor) | |
| Accept<TResult>(MarkdownSyntaxVisitor<TResult>) |
Accept overloads
Accept(MarkdownSyntaxVisitor)
MarkdownListItemSyntax.cspublic override void Accept(MarkdownSyntaxVisitor visitor)Parameters
visitorMarkdownSyntaxVisitor
No documentation is available.
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)
MarkdownListItemSyntax.cspublic override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)No documentation is available.