Search code examples
htmlclojurecompojure

Where can I find compojure.html?


I justed started experimenting with compojure and I'd like to create HTML output with the syntax I've found in several compojure examples:

(html [:html
        [:head
          [:title "Page title"]]
...

But I'm using compojure 0.6.2 and it seems like this syntax isn't included in compojure core.

How can I include it in my project?


Solution

  • (ns your-namespace
      (:require hiccup.core))