(html h)(html {:keys [allow-raw *explainer *parser]
:or {allow-raw false *explainer explainer *parser parser}
:as _opts}
h)Generates html from hiccupy data-structures.
What's hiccupy data look like? see: hiccup-schema.
Can I extend this by adding new types of nodes? Yes: see: huff2.extension!
Generates html from hiccupy data-structures. What's hiccupy data look like? see: [[hiccup-schema]]. Can I extend this by adding new types of nodes? Yes: see: [[huff2.extension]]!
(maybe-escape-html append! text)1. Change special characters into HTML character entities when *escape?* otherwise don't change text. 2. Append the maybe-transformed text value onto a stringbuilder
(raw-string & xs)Converts one or more strings into an object that will not be escaped when
used with the huff2.core/html macro.
Converts one or more strings into an object that will not be escaped when used with the [[huff2.core/html]] macro.
(raw-string? x)Returns true if x is a RawString created by raw-string.
Returns true if x is a RawString created by [[raw-string]].
(step {:keys [mode seen] :as acc} char)Used to extract :.class.names.and#ids from keywords.
Used to extract :.class.names.and#ids from keywords.
(stringify text)Take a primative, and turn it into a string.
Take a primative, and turn it into a string.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |