(apply-post-attrs hiccup attr-map)
Merges in attributes for the final HTML ast from given map of html keywords and attributes
Merges in attributes for the final HTML ast from given map of html keywords and attributes
(deep-merge & contents)
Recursively merges maps and vectors
Recursively merges maps and vectors
Mapping from the IR nodes to transformation fns
Mapping from the IR nodes to transformation fns
Deafult mappings from IR tags to HTML tags where transformation isn't required
Deafult mappings from IR tags to HTML tags where transformation isn't required
(lower-ir ir)
(lower-ir ir lowering-map)
Transforms the IR tree by lowering nodes to their HTML representation
Transforms the IR tree by lowering nodes to their HTML representation
(to-html-hiccup ir & [{:keys [lower-fns default-attrs]}])
Transforms a cybermonday IR into standard HTML hiccup
In an optional options map:
:lower-fns
supplies a mapping from IR keyword to lowering fn
default-attrs
supplies a mapping from HTML keyword to default node attributes
Transforms a cybermonday IR into standard HTML hiccup In an optional options map: `:lower-fns` supplies a mapping from IR keyword to lowering fn `default-attrs` supplies a mapping from HTML keyword to default node attributes
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close