From 573dd81575b821661fb4aaa6f8c68b513f889f07 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 21 Mar 2015 21:13:36 -0700 Subject: 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`. --- src/cmark.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmark.h') 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. */ -- cgit v1.2.3