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

compile!clj/s

(compile! doc)

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

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

emit-comment!clj/s

(emit-comment! node)

Emit an html comment passed in map form.

Emit an html comment passed in map form.
sourceraw 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.
sourceraw 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.
sourceraw 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`.
sourceraw 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]].
sourceraw 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.
sourceraw docstring

self-closing-tagsclj/s

Html tag names of tags that are self closing.

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

xml-strclj/s

(xml-str x)

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

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

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

× close