diff options
Diffstat (limited to 'js/README.md')
-rw-r--r-- | js/README.md | 2 |
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 |