summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-25 22:43:31 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-03-21 17:28:31 -0700
commitf4afff1ce6c59a9a6ad7a5d370aab902a8cdb4c9 (patch)
treea032d748a0c68aca7cccd45495eece8a8f37b2a5 /src/cmark.h
parent3d46c2b594c1230cebb89c48c86b8a80aee43553 (diff)
Added commonmark renderer.
This is still incomplete. (See TODOs in the source.)
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