(conj-some)
(conj-some coll)
(conj-some coll & xs)
Like conj, but ignores xs that are nil.
Like conj, but ignores xs that are nil.
(enlive->hiccup node-or-nodes)
Transform enlive style html to hiccup. Can take (and return) either a node or a sequence of nodes.
Transform enlive style html to hiccup. Can take (and return) either a node or a sequence of nodes.
(file->url f)
Converts a java.io.File to a java.net.URL.
Converts a java.io.File to a java.net.URL.
(filter-html-elems pred html-elems)
Recursively walks a sequence of enlive-style html elements depth first and returns a flat sequence of the elements where (pred elem)
Recursively walks a sequence of enlive-style html elements depth first and returns a flat sequence of the elements where (pred elem)
(hic= x & xs)
Tests whether the xs are equivalent hiccup.
Tests whether the xs are equivalent hiccup.
(trimmed-html-snippet html-string)
Creates an enlive-snippet from html-string
then removes
the newline nodes
Creates an enlive-snippet from `html-string` then removes the newline nodes
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close