Given some complex hiccup structure, I would like to dynamically append classes to children of the hiccup element in a parent function. I would like an API like the following.
I noticed normalize-element is in the compilier namespace: https://github.com/weavejester/hiccup/blob/master/src/hiccup/compiler.clj#L87 but that is not documented. Can we document that namespace?
I don't want to make the compiler namespace entirely public, but exposing normalize-element, perhaps as part of hiccup.util is a possibility. I'll need to consider it.
Hi,
I have the following use case:
Given some complex hiccup structure, I would like to dynamically append classes to children of the hiccup element in a parent function. I would like an API like the following.
For example,
I noticed
normalize-element
is in the compilier namespace:https://github.com/weavejester/hiccup/blob/master/src/hiccup/compiler.clj#L87
but that is not documented. Can we document that namespace?