OrderedList - SwiftDocOrg/CommonMark GitHub Wiki

OrderedList

An ordered list.

public final class OrderedList: Node

From the CommonMark Spec:

5.3 Lists

A list is a sequence of one or more list items of the same type. The list items may be separated by any number of blank lines.

5.2 List items

A list marker is a bullet list marker or an ordered list marker.

An ordered list marker is a sequence of 1–9 arabic digits (0-9), followed by either a . character or a ) character. (The reason for the length limit is that with 10 digits we start seeing integer overflows in some browsers.)


Inheritance

Node, CustomStringConvertible, Hashable


Properties

listStart

var listStart: Int

description

var description: String

Methods

hash(into:)

public func hash(into hasher: inout Hasher)