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

HTMLBlock

mattt edited this page Jan 14, 2021 · 11 revisions

HTMLBlock

An HTML block.

public final class HTMLBlock: Node

From the CommonMark Spec:

An HTML block is a group of lines that is treated as raw HTML (and will not be escaped in HTML output).

Inheritance

Node, Visitable

Initializers

init(literal:)

public convenience init(literal: String? = nil)

init(literal:children:)

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

init(_:)

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

init(_:_:)

public convenience init(_ literal: String, _ builder: () -> InlineConvertible)

Methods

accept(visitor:)

public func accept<T: Visitor>(visitor: T)
Clone this wiki locally