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 11
Paragraph
mattt edited this page Jan 25, 2020
·
12 revisions
A paragraph.
public final class Paragraph: Node
From the CommonMark Spec:
A sequence of non-blank lines that cannot be interpreted as other kinds of blocks forms a paragraph. The contents of the paragraph are the result of parsing the paragraph’s raw content as inlines. The paragraph’s raw content is formed by concatenating the lines and removing initial and final whitespace.
Node
, InlineConvertible
, Equatable
, CustomStringConvertible
, Hashable
public convenience init(text string: String, replacingNewLinesWithBreaks: Bool = true)
public convenience init(children: [Inline & Node] = [])
public convenience init(_ builder: () -> InlineConvertible)
public convenience init(_ closure: () -> String)
var cmark_node_type: cmark_node_type
var inlineValue: [Inline & Node]
var description: String
public static func ==(lhs: Node, rhs: Node) -> Bool
public func hash(into hasher: inout Hasher)
Generated at 2021-03-03T19:19:22+0000 using swift-doc 1.0.0-beta.5.
Types
- BlockQuote
- Code
- CodeBlock
- CommonMarkBuilder
- Document
- Document.Error
- Document.ParsingOptions
- Document.Position
- Emphasis
- ForEach
- Fragment
- HTMLBlock
- HardLineBreak
- Heading
- Image
- Link
- List
- List.Delimiter
- List.Item
- List.Kind
- Node
- Node.RenderingFormat
- Node.RenderingOptions
- Paragraph
- RawHTML
- Section
- SoftLineBreak
- StringBuilder
- Strong
- Text
- ThematicBreak
- VisitorContinueKind