summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 12e1f14..1c06125 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -481,6 +481,11 @@ char *cmark_render_html(cmark_node *root, int options);
CMARK_EXPORT
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);
+
/** Default writer options.
*/
#define CMARK_OPT_DEFAULT 0