darkmou5e / scroll

Micro library for rendering HTML in Clojure -- unmaintained

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Micro library for rendering HTML in Clojure -- unmaintained

License:Eclipse Public License 1.0


Languages

Language:Clojure 100.0%