Initializersliemeobn.elementary 0.5.0Elementary
init(_:)
Creates a new raw HTML content with the specified text.
init(_ text: String)
Creates a new raw HTML content with the specified text.
init(_ text: String)
import Elementary
struct HTMLRaw
A type that represents custom raw, untyped HTML.
@frozen struct String
A Unicode string value that is a collection of characters.
static func _render<Renderer>(_ html: consuming Self, into renderer: inout Renderer, with context: consuming _RenderingContext) where Renderer : _HTMLRendering
static func _render<Renderer>(_ html: consuming Self, into renderer: inout Renderer, with context: consuming _RenderingContext) async throws where Renderer : _AsyncHTMLRendering
var text: String
The raw HTML text.