This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
DiscussionPart
mattt edited this page Jun 10, 2021
·
8 revisions
A part of the discussion.
public enum DiscussionPart
The DiscussionPart
enumeration has cases for each type of block-level CommonMark node
as well as Swift Markup callouts.
Codable
, CustomStringConvertible
, Equatable
public init(from decoder: Decoder) throws
A block quote.
case blockQuote(BlockQuote)
A callout, such as a note, remark, or warning.
case callout(Callout)
A block of code.
case codeBlock(CodeBlock)
A heading.
case heading(Heading)
An HTML block.
case htmlBlock(HTMLBlock)
A list.
case list(List)
A paragraph.
case paragraph(Paragraph)
A thematic break.
case thematicBreak(ThematicBreak)
public var description: String
public func encode(to encoder: Encoder) throws
public static func == (lhs: DiscussionPart, rhs: DiscussionPart) -> Bool
Generated at 2021-06-10T10:51:02+0000 using swift-doc 1.0.0-rc.1.