README.html
authorBenjamin Auder <benjamin.a@mailoo.org>
Thu, 5 Feb 2015 19:14:32 +0000 (20:14 +0100)
committerBenjamin Auder <benjamin.a@mailoo.org>
Thu, 5 Feb 2015 19:14:32 +0000 (20:14 +0100)
README.html [new file with mode: 0644]
README.md [deleted file]

diff --git a/README.html b/README.html
new file mode 100644 (file)
index 0000000..96e9a0f
--- /dev/null
@@ -0,0 +1,14 @@
+<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
deleted file mode 100644 (file)
index 3ac85d7..0000000
--- a/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# cgds: C Generic Data Structures library
-
-Various data structures, from stack to tree, which can contain any data type.
-
-### 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);
-
-More examples in the unit tests under test/ folder.
-
-### Contact
-benjamin [dot] a [at] mailoo.org