(em x)
Convenience function to append 'em'
Convenience function to append 'em'
(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)
append!
on the maybe-transformed text value1. Change special characters into HTML character entities when *escape?* 2. call `append!` on the maybe-transformed text value
(pct x)
Convenience function to append '%'
Convenience function to append '%'
(px x)
Convenience function to append 'px'
Convenience function to append 'px'
(raw-string & strs)
Converts one or more strings into an object that will not be escaped when
used with the huff2.core/html
function.
Converts one or more strings into an object that will not be escaped when used with the [[huff2.core/html]] function.
(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]].
(rem x)
Convenience function to append 'rem'
Convenience function to append 'rem'
(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.
(vh x)
Convenience function to append 'vh'
Convenience function to append 'vh'
(vmax x)
Convenience function to append 'vmax'
Convenience function to append 'vmax'
(vmin x)
Convenience function to append 'vmin'
Convenience function to append 'vmin'
(vw x)
Convenience function to append 'vw'
Convenience function to append 'vw'
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close