summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md33
1 files changed, 19 insertions, 14 deletions
diff --git a/README.md b/README.md
index a59c461..24fe944 100644
--- a/README.md
+++ b/README.md
@@ -17,14 +17,18 @@ developers, since `scanners.c` can be provided in a released source
tarball.)
The parser is very fast, on par with
-[sundown](https://github.com/vmg/sundown). Some benchmarks:
-
-|Implementation | Time to parse a 500K book |
-|---------------|---------------------------|
-| Markdown.pl | 3.99s |
-| discount | 0.089s |
-| sundown | 0.015s |
-| cmark | 0.019s |
+[sundown](https://github.com/vmg/sundown). Some benchmarks (on
+a 1.6 GHz Intel Core i5, measured using `time`, and parsing a
+~500K book, the English version of [*Pro
+Git*](https://github.com/progit/progit/tree/master/en) by
+Scott Chacon and Ben Straub):
+
+|Implementation | Time |
+|---------------|-------|
+| Markdown.pl | 3.990s|
+| discount | 0.089s|
+| sundown | 0.015s|
+| cmark | 0.019s|
Usage: cmark [FILE*]
Options: --help, -h Print usage information
@@ -32,12 +36,13 @@ The parser is very fast, on par with
--version Print version
The JavaScript implementation is a single JavaScript file, with
-no dependencies, that can be linked to in an HTML page. (To build,
-it, do `make js/commonmark.js`---this requires `browserify`, which you
-can get using `npm install -g browserify`.) A command-line
-version (using `node.js`) is also provided (`js/bin/commonmark`), and
-there is a "dingus" for playing with it interactively. (`make dingus`
-will start this.)
+no dependencies, that can be linked to in an HTML page. To build,
+it, do `make js/commonmark.js` (this requires `browserify`, which you
+can get using `npm install -g browserify`). You can also fetch
+a pre-built copy from `http://spec.commonmark.org/js/commonmark.js`.
+A command-line version (using `node.js`) is also provided
+(`js/bin/commonmark`), and there is a "dingus" for playing with it
+interactively. (`make dingus` will start this.)
[Try it now!](http://jgm.github.io/CommonMark/js/)