Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Colorize Readme with github flavored markdown

  • Loading branch information...
commit 6453c305197feeb0daae8b69ef68f112ae5fe75b 1 parent 4bfa8ba
@jteneycke authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.markdown
View
12 README.markdown
@@ -1,18 +1,18 @@
# yokogiri
In your `project.clj`: `[yokogiri "1.5.1"]`
-
+```clojure
(ns myproject.core
(:require [yokogiri.core :as yokogiri]))
-
+```
or
-
+```clojure
(ns myproject.core
(:use [yokogiri.core]))
-
+```
## usage
-
+```clojure
(def client (yokogiri/make-client))
(def page (yokogiri/get-page client "http://example.com"))
@@ -23,7 +23,7 @@ or
;; css
(def footer-feedback-text
(map node-text (css page "div.footer-beta-feedback")))
-
+```
## license
Copyright (C) 2012 Devin Walters
Please sign in to comment.
Something went wrong with that request. Please try again.