Convert Hiccup to clojure.xml style :tag/:attrs/:content maps, with support for :<>, function components, and extensible via protocol.
Anywhere where we need to render Hiccup we should prefer to go through this namespace.
Convert Hiccup to clojure.xml style :tag/:attrs/:content maps, with support for :<>, function components, and extensible via protocol. Anywhere where we need to render Hiccup we should prefer to go through this namespace.
(html & nodes-specs)
Convert hiccup to clojure.xml. Like net.cgrand.enlive/html, but additionally support function components, fragments with :<>, and extensible via the HiccupTag protocol.
Convert hiccup to clojure.xml. Like net.cgrand.enlive/html, but additionally support function components, fragments with :<>, and extensible via the HiccupTag protocol.
(render h)
(render h {:keys [doctype?] :or {doctype? true} :as opts})
Render hiccup to string
Render hiccup to string
(render-html h)
Render clojure.xml to string, add DOCTYPE
Render clojure.xml to string, add DOCTYPE
(render-html* h)
Render clojure.xml to string. Emits void-tags for HTML5 void elements (no closing tag or self-closing).
Render clojure.xml to string. Emits void-tags for HTML5 void elements (no closing tag or self-closing).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close