Announcing stch.html. A library for HTML generation that supports Clojure
and ClojureScript. Based on ideas from Hoplon. Feedback is welcome.
Full documentation and examples can be found at
https://github.com/stch-library/html.
Add the following to your project dependencies to use:
[stch-li
0.1.2 released.
class attribute can be a string, set, or sequential type now.
(->html (div :class "big bold"))
; ""
(->html (div :class #{"big" "bold"}))
; ""
(->html (div :class ["big" "bold"]))
; ""
--
You received this message because you are subscribed to the Google
Groups "Clojure" group