Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.prose.alpha.out.html.compiler

Specialization of the generic compiler from fr.jeremyschoffen.prose.alpha.compilation.core to compile to html.

Specialization of the generic compiler from [[fr.jeremyschoffen.prose.alpha.compilation.core]]
to compile to html.
raw docstring

attr-strclj/s

(attr-str x)

Like clojure.core/str but escapes < > & and ".

Like clojure.core/str but escapes < > & and ".
raw docstring

compile!clj/s

(compile! doc)

Compile a document (in data form) into html text.

Compile a document (in data form) into html text.
raw docstring

emit-comment!clj/s

(emit-comment! node)

Emit an html comment passed in map form.

Emit an html comment passed in map form.
raw docstring

emit-dtd!clj/s

(emit-dtd! {[name public-id system-id] :data})

Emit a dtd passed in map form.

Emit a dtd passed in map form.
raw docstring

emit-str!clj/s

(emit-str! x)

Default emit-str for the HTML compiler. Uses xml-str to escaped characters.

Default emit-str for the HTML compiler. Uses [[xml-str]] to escaped characters.
raw docstring

emit-tag!clj/s

(emit-tag! {:keys [tag attrs content]})

Emits a html tag which is a map with the keys :tag, :attrs and :content.

Emits a html tag which is a map with the keys `:tag`, `:attrs` and `:content`.
raw docstring

implementationclj/s

Html implementation of our generic compiler, this is meant to a binding to fr.jeremyschoffen.prose.alpha.compilation.core.

Html implementation of our generic compiler, this is meant to a binding to
[[fr.jeremyschoffen.prose.alpha.compilation.core]].
raw docstring

name-strclj/s

(name-str n)

Return a string representation of a name (tag or attribute) in html.

Return a string representation of a name (tag or attribute) in html.
raw docstring

self-closing-tagsclj/s

Html tag names of tags that are self closing.

Html tag names of tags that are self closing.
raw docstring

xml-strclj/s

(xml-str x)

Like clojure.core/str but escapes < > and &.

Like clojure.core/str but escapes < > and &.
raw docstring

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

× close