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 3b60d67..1dab0dd 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -394,6 +394,11 @@ cmark_node *cmark_parse_file(FILE *f);
CMARK_EXPORT
char *cmark_render_ast(cmark_node *root);
+/** Render a 'node' tree as XML.
+ */
+CMARK_EXPORT
+char *cmark_render_xml(cmark_node *root);
+
/** Render a 'node' tree as an HTML fragment. It is up to the user
* to add an appropriate header and footer.
*/