Convert html into hiccup and vice verse
Convert html into hiccup and vice verse
(add-id&classes->tag tag {:keys [class id]})
Add id and classes to an HTML tag (the hiccup way).
Add id and classes to an HTML tag (the hiccup way).
(enlive-node->hiccup node)
A parser that makes hiccup data from an enlive node.
A parser that makes hiccup data from an enlive node.
(ensure-hicv-dir!)
Make sure that hicv/ directory exist by creating it when necessary.
Make sure that hicv/ directory exist by creating it when necessary.
(ensure-under-hicv-dir resource-path)
Check if files passed as command line arguements are under hicv/ directory.
Check if files passed as command line arguements are under hicv/ directory.
(hiccup->html [x & res :as data])
Do convert a Clojure/hiccup data to an HTML string.
Do convert a Clojure/hiccup data to an HTML string.
(hiccup-file->html-file file-path)
Do convert a Clojure/hiccup file to an HTML one.
Do convert a Clojure/hiccup file to an HTML one.
(hiccup-files->html-files file-paths)
Batch convert many Clojure/hiccup files to HTML ones.
Batch convert many Clojure/hiccup files to HTML ones.
(html->hiccup s)
Do convert an HTML string to Clojure/hiccup data.
Do convert an HTML string to Clojure/hiccup data.
(html-file->hiccup resource-path)
Make Clojure/hiccup data from a HTML file.
Make Clojure/hiccup data from a HTML file.
(html-file->hiccup-file resource-path)
Do convert a html file to a Clojure/hiccup one (using io stream so if you want to convert strings, use html->hiccup instead).
Do convert a html file to a Clojure/hiccup one (using io stream so if you want to convert strings, use html->hiccup instead).
(html-files->hiccup-files resource-paths)
Batch convert many HTML files to Clojure/hiccup ones.
Batch convert many HTML files to Clojure/hiccup ones.
(remove-extension file-path)
Remove extension from a file path.
Remove extension from a file path.
(replace-extension file-path extension)
Replace extension of a file path with a new one.
Replace extension of a file path with a new one.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close