(cleanup hiccup)
Removes excess whitespace and nils from the resulting AST.
Removes excess whitespace and nils from the resulting AST.
(collect-text ir)
Given hiccup, return a sequence of just the text items
Given hiccup, return a sequence of just the text items
(gen-id node)
Given an IR node, generate an id based on all its text
Given an IR node, generate an id based on all its text
(hiccup? element)
Tests to see if an element is valid hiccup
Tests to see if an element is valid hiccup
(make-hiccup-node tag children)
(make-hiccup-node tag attrs children)
Creates a hiccup node, consuming a sequence of children
Creates a hiccup node, consuming a sequence of children
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close