Skip to content
Auto
Products

MarkdownList

Namespace: TagBites.Text.Markdown
Assembly: TagBites.Text.Markdown.dll
Product: TagBites.Text.Markdown v. 2.2.0

A list of items, written with the - marker.

public class MarkdownList : TagBites.Text.Markdown.MarkdownElement

Inheritance: objectMarkdownElement → MarkdownList

public MarkdownList()

Gets or sets a value indicating whether the items are numbered.

public bool IsOrdered { get; set; }

bool

Default: false, which writes the - marker.

Gets the items of the list.

public IList<MarkdownListItem> Items { get; }

IList<MarkdownListItem>

Gets or sets the number the first item carries.

public int StartNumber { get; set; }

int

Applies only when IsOrdered is true, and continues a list that another block interrupted. Default: 1.

Adds an item with a check box and returns it.

public MarkdownListItem AddCheckItem(bool isChecked, MarkdownText text)

MarkdownListItem

One list holds items with and without a check box, which is what the spec allows.

Adds an item and returns it.

public MarkdownListItem AddItem(MarkdownText text)

MarkdownListItem

Writes the element into renderer.

protected internal virtual void Resolve(MarkdownRenderer renderer)