Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reference page update

  • Loading branch information...
commit 9e6c3861df8b15de5eaa1ffb4da0022720238574 1 parent 4fd949c
@dakrone authored
Showing with 20 additions and 15 deletions.
  1. +20 −15 resources/index.html
View
35 resources/index.html
@@ -14,33 +14,38 @@
<h3>Getting examples</h3>
-<pre><code>curl "http://api.clojuredocs.org/examples/clojure.core/map"
-curl "http://api.clojuredocs.org/examples/1.2.0/clojure.core/map"
-</code></pre>
+<pre>
+ curl "http://api.clojuredocs.org/examples/clojure.core/map"
+ curl "http://api.clojuredocs.org/examples/1.2.0/clojure.core/map"
+</pre>
<h3>Searching for a function</h3>
-<pre><code>curl "http://api.clojuredocs.org/search/map"
-curl "http://api.clojuredocs.org/search/clojure.core/map"
-</code></pre>
+<pre>
+ curl "http://api.clojuredocs.org/search/map"
+ curl "http://api.clojuredocs.org/search/clojure.core/map"
+</pre>
<h3>Searching for comments on a function</h3>
-<pre><code>curl "http://api.clojuredocs.org/comments/clojure.contrib.json/read-json"
-curl "http://api.clojuredocs.org/comments/1.2.0/clojure.contrib.json/read-json"
-</code></pre>
+<pre>
+ curl "http://api.clojuredocs.org/comments/clojure.contrib.json/read-json"
+ curl "http://api.clojuredocs.org/comments/1.2.0/clojure.contrib.json/read-json"
+</pre>
<h3>Getting the 'see-also' functions</h3>
-<pre><code>curl "http://api.clojuredocs.org/see-also/clojure.test/are"
-</code></pre>
+<pre>
+ curl "http://api.clojuredocs.org/see-also/clojure.test/are"
+</pre>
<h3>Getting the available versions clojuredocs knows about</h3>
-<pre><code>curl "http://api.clojuredocs.org/versions"
-curl "http://api.clojuredocs.org/versions/clojure.core"
-curl "http://api.clojuredocs.org/versions/clojure.core/map"
-</code></pre>
+<pre>
+ curl "http://api.clojuredocs.org/versions"
+ curl "http://api.clojuredocs.org/versions/clojure.core"
+ curl "http://api.clojuredocs.org/versions/clojure.core/map"
+</pre>
Or check out a <a href="http://github.com/dakrone/cd-client">tiny client</a> for getting Clojure datastructures from the API.
<br />
<br />
Please sign in to comment.
Something went wrong with that request. Please try again.