summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2020-09-02 09:11:08 +0100
committerKatolaZ <katolaz@freaknet.org>2020-09-02 09:11:08 +0100
commite79cc4d68e6333e13d53e5262572e99c6877cbc6 (patch)
tree3105ae7ab33bc6643218d9e39d377027b1826cf5 /src/cmark.h
parent59a8bd1e990a472bc6d8ec8bb54a514431ff854e (diff)
add support for groff mom filter
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index a37c185..afd90e9 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -536,6 +536,12 @@ char *cmark_render_commonmark(cmark_node *root, int options, int width);
CMARK_EXPORT
char *cmark_render_latex(cmark_node *root, int options, int width);
+/** Render a 'node' tree as a groff mom document.
+ * It is the caller's responsibility to free the returned buffer.
+ */
+CMARK_EXPORT
+char *cmark_render_mom(cmark_node *root, int options, int width);
+
/**
* ## Options
*/