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

SoftLineBreak

mattt edited this page Jan 25, 2020 · 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, CustomStringConvertible, Equatable, Hashable


Initializers

init()

public convenience init()

Properties

cmark_node_type

var cmark_node_type: cmark_node_type

description

var description: String

Methods

==(lhs:rhs:)

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

hash(into:)

public func hash(into hasher: inout Hasher)

Clone this wiki locally