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

Emphasis

mattt edited this page Jan 25, 2020 · 11 revisions

Emphasis

An emphasis span.

public final class Emphasis: Node

From the CommonMark Spec:


Inheritance

Node, Equatable, CustomStringConvertible, Hashable


Initializers

init(text:)

public convenience init(text string: String)

init(children:)

public convenience init(children: [Inline & Node] = [])

init(_:)

public convenience init(_ closure: () -> String)

init(_:)

public convenience init(_ builder: () -> InlineConvertible)

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