Skip to content

Commit 35e0768

Browse files
committed
MarkupType public vars
1 parent 00accb7 commit 35e0768

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/MarkdownToAttributedString/Types.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ public enum MarkupType: Hashable, CaseIterable {
2525
case unknown
2626

2727
// Yes, according to CommonMark semantics list items are blocks (and container blocks at that)
28-
var isBlock: Bool {
28+
public var isBlock: Bool {
2929
return [.codeBlock, .heading, .unorderedList, .orderedList, .listItem].contains(self)
3030
}
3131

32-
var isContainerBlock: Bool {
32+
public var isContainerBlock: Bool {
3333
return [.unorderedList, .orderedList, .listItem].contains(self)
3434
}
3535

36-
var isLeafBlock: Bool {
36+
public var isLeafBlock: Bool {
3737
return [.heading, .codeBlock].contains(self)
3838
}
3939
}

0 commit comments

Comments
 (0)