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 10:27:20 +0100
commit7f962c74879713d9aa6aeb09993dd7d80bccedd0 (patch)
tree578968e0ec8228c0bd715b99689c5692ad4be8ae /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
*/