summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-11 12:00:42 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-11 12:01:00 -0800
commitcb744bd09103321b18ee979edac2cb26a414f7be (patch)
tree6a6837df1271598bf8bb056b03f1c41aa8195ffb /src/cmark.h
parentf8d804300a134993a667ecf66063ee15accc6712 (diff)
Added cmark_markdown_to_html with a simple interface.
See #70.
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 1fb8668..6347901 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -118,6 +118,8 @@ void cmark_free_nodes(node_block *e);
void cmark_debug_print(node_block *root);
void cmark_render_html(strbuf *html, node_block *root);
+unsigned char *cmark_markdown_to_html(unsigned char *text);
+
#ifdef __cplusplus
}
#endif