Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

DiscussionPart

mattt edited this page May 27, 2020 · 8 revisions

DiscussionPart

A part of the discussion.

public enum DiscussionPart

Inheritance

Codable, CustomStringConvertible, Equatable

Initializers

init?(_:)

init?(_ node: Node & Block)

init(from:)

public init(from decoder: Decoder) throws

Enumeration Cases

blockQuote

case blockQuote(: BlockQuote)

callout

case callout(: Callout)

codeBlock

case codeBlock(: CodeBlock)

heading

case heading(: Heading)

htmlBlock

case htmlBlock(: HTMLBlock)

list

case list(: List)

paragraph

case paragraph(: Paragraph)

Properties

description

var description: String

Methods

==(lhs:rhs:)

public static func ==(lhs: DiscussionPart, rhs: DiscussionPart) -> Bool

encode(to:)

public func encode(to encoder: Encoder) throws