Liking cljdoc? Tell your friends :D

cryogen-core.util


conj-someclj

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

enlive->hiccupclj

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

enlive->html-textclj

(enlive->html-text node-or-nodes)
source

enlive->plain-textclj

(enlive->plain-text node-or-nodes)
source

file->urlclj

(file->url f)

Converts a java.io.File to a java.net.URL.

Converts a java.io.File to a java.net.URL.
sourceraw docstring

filter-html-elemsclj

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

hic=clj

(hic= x & xs)

Tests whether the xs are equivalent hiccup.

Tests whether the xs are equivalent hiccup.
sourceraw docstring

parse-post-dateclj

(parse-post-date file-name date-fmt)

Parses the post date from the post's file name and returns the corresponding java date object

Parses the post date from the post's file name and returns the corresponding java date object
sourceraw docstring

re-pattern-from-extsclj

(re-pattern-from-exts exts)

Creates a properly quoted regex pattern for the given file extensions

Creates a properly quoted regex pattern for the given file extensions
sourceraw docstring

trimmed-html-snippetclj

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

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

× close