Liking cljdoc? Tell your friends :D

hiccup-bridge.core

Convert html into hiccup and vice verse

Convert html into hiccup and vice verse
raw docstring

add-id&classes->tagclj

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

enlive-node->hiccupclj

(enlive-node->hiccup node)

A parser that makes hiccup data from an enlive node.

A parser that makes hiccup data from an enlive node.
sourceraw docstring

ensure-hicv-dir!clj

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

ensure-under-hicv-dirclj

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

get-resourceclj

(get-resource resource-path)
source

hiccup->htmlclj

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

hiccup-file->html-fileclj

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

hiccup-files->html-filesclj

(hiccup-files->html-files file-paths)

Batch convert many Clojure/hiccup files to HTML ones.

Batch convert many Clojure/hiccup files to HTML ones.
sourceraw docstring

html->hiccupclj

(html->hiccup s)

Do convert an HTML string to Clojure/hiccup data.

Do convert an HTML string to Clojure/hiccup data.
sourceraw docstring

html->nodesclj

(html->nodes s)
source

html-file->hiccupclj

(html-file->hiccup resource-path)

Make Clojure/hiccup data from a HTML file.

Make Clojure/hiccup data from a HTML file.
sourceraw docstring

html-file->hiccup-fileclj

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

html-files->hiccup-filesclj

(html-files->hiccup-files resource-paths)

Batch convert many HTML files to Clojure/hiccup ones.

Batch convert many HTML files to Clojure/hiccup ones.
sourceraw docstring

remove-extensionclj

(remove-extension file-path)

Remove extension from a file path.

Remove extension from a file path.
sourceraw docstring

replace-extensionclj

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

url?clj

(url? s)
source

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

× close