aboutsummaryrefslogtreecommitdiff
path: root/src/html
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/html
parentf8d804300a134993a667ecf66063ee15accc6712 (diff)
Added cmark_markdown_to_html with a simple interface.
See #70.
Diffstat (limited to 'src/html')
-rw-r--r--src/html/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/html.c b/src/html/html.c
index ea83992..6b5d614 100644
--- a/src/html/html.c
+++ b/src/html/html.c
@@ -372,7 +372,7 @@ static void blocks_to_html(strbuf *html, node_block *b)
free_render_stack(rstack);
}
-void cmark_render_html(strbuf *html, node_block *root)
+extern void cmark_render_html(strbuf *html, node_block *root)
{
blocks_to_html(html, root);
}