Liking cljdoc? Tell your friends :D

lambdaisland.hiccup

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.
raw docstring

block-level-tag?clj

source

convert-attributeclj

(convert-attribute attr)
source

convert-attribute-react-logicclj

(convert-attribute-react-logic attr-str)
source

convert-attribute-reagent-logicclj

(convert-attribute-reagent-logic attr)
source

htmlclj

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

html5-void-elementsclj

source

kebab-case-tagsclj

source

kebab-prefixesclj

source

renderclj

(render h)
(render h {:keys [doctype?] :or {doctype? true} :as opts})

Render hiccup to string

Render hiccup to string
sourceraw docstring

render-htmlclj

(render-html h)

Render clojure.xml to string, add DOCTYPE

Render clojure.xml to string, add DOCTYPE
sourceraw docstring

render-html*clj

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

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

× close