Liking cljdoc? Tell your friends :D

huff2.core


*escape?*clj

source

char->replacementclj

source

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? otherwise don't change text.
  2. Append the maybe-transformed text value onto a stringbuilder
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
sourceraw docstring

pageclj

(page h)
(page opts h)
source

parserclj

source

raw-stringclj

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

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

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

× close