Fork me on GitHub

misaki

Link

(html/link "label" "http://localhost/")
label

Unordered list

(html/ul (range 3))
  • 0
  • 1
  • 2

Definition list

(html/dl {:a 1, :b 2})
(html/dl [:hello "world" :foo "bar"])
a
1
b
2
hello
world
foo
bar

Block quote

(html/quote
  "foo
  bar"
  [:a {:href "#"} "baz"])

foo

bar

baz

Inline code

(html/code "clojure.core/+")
clojure.core/+

Source code

Comment out following code.

;#-CLJ
;(let [msg "world"]
;  (println "hello," msg))
;CLJ
(let [msg "world"]
  (println "hello," msg))

JavaScript

(html/js "a.js" "b.js")

Style Sheet

(html/css "a.css" "b.css")