List_Kind_Delimiter_Item - SwiftDocOrg/CommonMark GitHub Wiki
List.Kind.Delimiter.Item
public final class Item: Node
Inheritance
Initializers
init(delimiter:children:)
public convenience init(delimiter: Delimiter = .none, children: [List.Item] = [])
init(children:)
public convenience init(children: [Block & Node] = [])
init(children:)
public convenience init(children: [Inline & Node] = [])
Properties
kind
var kind: Kind
cmark_node_type
var cmark_node_type: cmark_node_type
loose
Whether the list is loose.
var loose: Bool
From the CommonMark Spec:
A list is loose if any of its constituent list items are separated by blank lines, or if any of its constituent list items directly contain two block-level elements with a blank line between them. Otherwise a list is tight.
delimiter
var delimiter: Delimiter
cmark_node_type
var cmark_node_type: cmark_node_type
tight
Whether the list is tight.
var tight: Bool
Seealso:
loose