summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmark.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmark.h b/src/cmark.h
index ffaca68..3c68ac6 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -412,11 +412,12 @@ cmark_consolidate_text_nodes(cmark_node *root);
*
* Simple interface:
*
- * cmark_node *document = cmark_parse_document("Hello *world*", 12, 0);
+ * cmark_node *document = cmark_parse_document("Hello *world*", 12,
+ * CMARK_OPT_DEFAULT);
*
* Streaming interface:
*
- * cmark_parser *parser = cmark_parser_new(0);
+ * cmark_parser *parser = cmark_parser_new(CMARK_OPT_DEFAULT);
* FILE *fp = fopen("myfile.md", "r");
* while ((bytes = fread(buffer, 1, sizeof(buffer), fp)) > 0) {
* cmark_parser_feed(parser, buffer, bytes);