We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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.
DiscussionPart
Codable, CustomStringConvertible, Equatable
Codable
CustomStringConvertible
Equatable
init(from:)
public init(from decoder: Decoder) throws
blockQuote
A block quote.
case blockQuote(BlockQuote)
callout
A callout, such as a note, remark, or warning.
case callout(Callout)
codeBlock
A block of code.
case codeBlock(CodeBlock)
heading
A heading.
case heading(Heading)
htmlBlock
An HTML block.
case htmlBlock(HTMLBlock)
list
A list.
case list(List)
paragraph
A paragraph.
case paragraph(Paragraph)
thematicBreak
A thematic break.
case thematicBreak(ThematicBreak)
description
public var description: String
encode(to:)
public func encode(to encoder: Encoder) throws
==
public static func == (lhs: DiscussionPart, rhs: DiscussionPart) -> Bool