Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 562 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 562 Bytes

scroll

A Hiccup-like micro library for rendering HTML. It's only 42 lines of code. Works with Clojure and probably with ClojureScript (I don't test it).

Usage

It is similar to Hiccup.

user=> (use 'scroll.core)
nil
user=> (html [:div {:class "header" :data-spam "eggs"}]) 
"<div class=\"header\" data-spam=\"eggs\"></div>"

For more examples see tests.

License

Copyright © 2015 Anton Bezrukov

Distributed under the Eclipse Public License either version 1.0