SoftLineBreak - SwiftDocOrg/CommonMark GitHub Wiki

SoftLineBreak

A soft line break.

public final class SoftLineBreak: Node

From the CommonMark Spec:

A regular line break (not in a code span or HTML tag) that is not preceded by two or more spaces or a backslash is parsed as a softbreak. (A softbreak may be rendered in HTML either as a line ending or as a space. The result will be the same in browsers.)

Inheritance

Node, Visitable

Initializers

init()

public convenience init()

Methods

accept(visitor:)

public func accept<T: Visitor>(visitor: T)
⚠️ **GitHub.com Fallback** ⚠️