Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #58 from ldenman/master

Syntax highlighting in README
  • Loading branch information...
commit 34a968737ca4783962c8381c8d6212b9466a2193 2 parents 52a40f3 + dc3114c
@weavejester authored
Showing with 9 additions and 7 deletions.
  1. +9 −7 README.md
View
16 README.md
@@ -7,15 +7,17 @@ An Example
Here's a small web application written using Compojure and
[Ring](http://github.com/mmcgrana/ring).
- (ns hello-world
- (:use compojure.core, ring.adapter.jetty)
- (:require [compojure.route :as route]))
+```clojure
+(ns hello-world
+ (:use compojure.core, ring.adapter.jetty)
+ (:require [compojure.route :as route]))
- (defroutes main-routes
- (GET "/" [] "<h1>Hello World</h1>")
- (route/not-found "<h1>Page not found</h1>"))
+(defroutes main-routes
+ (GET "/" [] "<h1>Hello World</h1>")
+ (route/not-found "<h1>Page not found</h1>"))
- (run-jetty main-routes {:port 8080})
+(run-jetty main-routes {:port 8080})
+```
Documentation
-------------
Please sign in to comment.
Something went wrong with that request. Please try again.