Html
This package provides HTML rendering logic.
{ "type": "library"}Install
Section titled “Install”{ "dependencies": { "Html": "pen:///html" }}Html'Node module
Section titled “Html'Node module”An HTML node
type Node = Element | stringElement
Section titled “Element”An HTML element
type Element { Tag string Attributes [Attribute] Children [Node]}Attribute
Section titled “Attribute”An HTML attribute
type Attribute { Key string Value string}Functions
Section titled “Functions”No functions are defined.
Html'Render module
Section titled “Html'Render module”No types are defined.
Functions
Section titled “Functions”Render
Section titled “Render”Render an HTML node.
\(n Node) string | error