change README from html to markdown
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 22 Jul 2016 09:33:53 +0000 (11:33 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 22 Jul 2016 09:45:07 +0000 (11:45 +0200)
README.html [deleted file]
README.md [new file with mode: 0644]

diff --git a/README.html b/README.html
deleted file mode 100644 (file)
index 96e9a0f..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<h1>cgds: C Generic Data Structures library</h1>
-
-<p>Various data structures, from stack to tree, which can contain any data type.</p>
-
-<h3>Example</h3>
-
-<pre><code>    Vector v = vector_new(int);
-    vector_push(v, 32);
-    vector_push(v, 42);
-    int a; vector_get(v, 1, a); //a now contains 42
-    vector_set(v, 0, 0); //v[0] now contains 0
-    vector_destroy(v);</code></pre>
-
-<p>More examples in the unit tests under test/ folder.</p>
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..8728d3e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,14 @@
+# cgds: C Generic Data Structures library</h1>
+
+Various data structures, from stack to tree, which can contain any data type.</p>
+
+## Example
+
+       Vector v = vector_new(int);
+       vector_push(v, 32);
+       vector_push(v, 42);
+       int a; vector_get(v, 1, a); //a now contains 42
+       vector_set(v, 0, 0); //v[0] now contains 0
+       vector_destroy(v);</code></pre>
+
+More examples in the unit tests under test/ folder.</p>