summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-03-21 21:13:36 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-03-21 21:30:39 -0700
commit573dd81575b821661fb4aaa6f8c68b513f889f07 (patch)
treeb638bf7d789dc19bfd101caf887faecc4c1fbd78 /src/cmark.h
parentb31224fbe2072b8e2328c9607e8587e79a7f307d (diff)
CommonMark renderer: Added 'width' parameter.
This controls column width for hard wrapping. By default it is 0, which means that no wrapping will be done. Added a width parameter in `cmark_render_commonmark`.
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 1c06125..84c6f76 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -484,7 +484,7 @@ char *cmark_render_man(cmark_node *root, int options);
/** Render a 'node' tree as a commonmark document.
*/
CMARK_EXPORT
-char *cmark_render_commonmark(cmark_node *root, int options);
+char *cmark_render_commonmark(cmark_node *root, int options, int width);
/** Default writer options.
*/