Liking cljdoc? Tell your friends :D

hickory.convert

Functions to convert from one representation to another.

Functions to convert from one representation to another.
raw docstring

hiccup-fragment-to-hickoryclj/s

(hiccup-fragment-to-hickory hiccup-forms)

Given a sequence of hiccup forms representing a document fragment, returns an equivalent sequence of hickory fragments.

Note that this function is heavyweight: it requires a full HTML re-parse to work.

Given a sequence of hiccup forms representing a document fragment,
returns an equivalent sequence of hickory fragments.

Note that this function is heavyweight: it requires a full HTML
re-parse to work.
sourceraw docstring

hiccup-to-hickoryclj/s

(hiccup-to-hickory hiccup-forms)

Given a sequence of hiccup forms representing a full document, returns an equivalent hickory node representation of that document. This will perform HTML5 parsing as a full document, no matter what it is given.

Note that this function is heavyweight: it requires a full HTML re-parse to work.

Given a sequence of hiccup forms representing a full document,
returns an equivalent hickory node representation of that document.
This will perform HTML5 parsing as a full document, no matter what
it is given.

Note that this function is heavyweight: it requires a full HTML
re-parse to work.
sourceraw docstring

hickory-to-hiccupclj/s

(hickory-to-hiccup dom)

Given a hickory format dom object, returns an equivalent hiccup representation. This can be done directly and exactly, but in general you will not be able to go back from the hiccup.

Given a hickory format dom object, returns an equivalent hiccup
representation. This can be done directly and exactly, but in general
you will not be able to go back from the hiccup.
sourceraw docstring

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

× close