hiccup.def
Macros for defining functions that generate HTML
defelem
macro
(defelem name & fdecl)
Defines a function that will return a element vector. If the first argument passed to the resulting function is a map, it merges it with the attribute map of the returned element value.
defhtml
macro
(defhtml name & fdecl)
Define a function, but wrap its output in an implicit hiccup.core/html macro.
wrap-attrs
(wrap-attrs func)
Add an optional attribute argument to a function that returns a element vector.