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

SoftLineBreak

mattt edited this page Jan 14, 2021 · 11 revisions

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)
Clone this wiki locally