This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
DiscussionPart
mattt edited this page Mar 5, 2021
·
8 revisions
A part of the discussion.
public enum DiscussionPartThe 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) throwsA 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)var description: Stringpublic static func ==(lhs: DiscussionPart, rhs: DiscussionPart) -> Boolpublic func encode(to encoder: Encoder) throwsGenerated at 2021-06-10T10:51:02+0000 using swift-doc 1.0.0-rc.1.