 (defroutes api-routes
 
   (GET "/" [] (layout (get-message :api-title)
-               (md-node :article (slurp "API.md"))))
+                      (md-node :article (slurp "API.md"))))
 
   (GET "/note" [version noteID]
        (generate-string (api/get-note noteID)))

  containing the markdown text (to keep all chars unescaped)"
  ([cls input] (md-node cls {} input))
  ([cls opts input]
  [(keyword (str (name cls) ".markdown")) opts
   [:textarea input]]))

(when-not (storage/valid-publisher? "NoteHub")
  (storage/register-publisher "NoteHub"))

            (response 500))))

  (route/resources "/")
  (route/not-found (response 404)))

(def app
  (handler/site app-routes))
