summaryrefslogtreecommitdiff
path: root/js/README.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-17 22:00:19 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-17 22:00:19 -0800
commitb34e19cd2f32342fafd6ae76de4e537240784f71 (patch)
tree38c19f2dcd14948eda23f859633df8ca0ff750bf /js/README.md
parent7b0feef72f8dd6e6d1ea61e70272fb826202e820 (diff)
Renamed DocParser -> Parser.
Note: library users should update their code or it will break.
Diffstat (limited to 'js/README.md')
-rw-r--r--js/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/README.md b/js/README.md
index 0d5cf13..0bba0c5 100644
--- a/js/README.md
+++ b/js/README.md
@@ -52,7 +52,7 @@ could transform emphasis into ALL CAPS.
Here's a basic usage example:
- var reader = new commonmark.DocParser();
+ var reader = new commonmark.Parser();
var writer = new commonmark.HtmlRenderer();
var parsed = reader.parse("Hello *world*"); // parsed is a 'Node' tree
var result = writer.render(parsed); // result is a string