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 24, 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, Hashable, CustomStringConvertible, Equatable


Initializers

init()

public convenience init()

Properties

cmark_node_type

var cmark_node_type: cmark_node_type

description

var description: String

Methods

hash(into:)

public func hash(into hasher: inout Hasher)

==(lhs:rhs:)

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

Clone this wiki locally