Liking cljdoc? Tell your friends :D

huff2.core


*escape?*clj

source

emclj

(em x)

Convenience function to append 'em'

Convenience function to append 'em'
sourceraw docstring

emitcljmultimethod

source

explainerclj

source

hiccup-schemaclj

source

htmlclj

(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]]!
sourceraw docstring

maybe-escape-htmlclj

(maybe-escape-html append! text)
  1. Change special characters into HTML character entities when escape?
  2. call append! on the maybe-transformed text value
1. Change special characters into HTML character entities when *escape?*
2. call `append!` on the maybe-transformed text value
sourceraw docstring

pageclj

(page h)
(page opts h)
source

parserclj

source

pctclj

(pct x)

Convenience function to append '%'

Convenience function to append '%'
sourceraw docstring

pxclj

(px x)

Convenience function to append 'px'

Convenience function to append 'px'
sourceraw docstring

rawclj

(raw & strs)
source

raw-stringclj

(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.
sourceraw docstring

raw-string?clj

(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]].
sourceraw docstring

remclj

(rem x)

Convenience function to append 'rem'

Convenience function to append 'rem'
sourceraw docstring

stepclj

(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.
sourceraw docstring

stringifyclj

(stringify text)

Take a primative, and turn it into a string.

Take a primative, and turn it into a string.
sourceraw docstring

valid?clj

(valid? h)
source

vhclj

(vh x)

Convenience function to append 'vh'

Convenience function to append 'vh'
sourceraw docstring

vmaxclj

(vmax x)

Convenience function to append 'vmax'

Convenience function to append 'vmax'
sourceraw docstring

vminclj

(vmin x)

Convenience function to append 'vmin'

Convenience function to append 'vmin'
sourceraw docstring

vwclj

(vw x)

Convenience function to append 'vw'

Convenience function to append 'vw'
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close