From 7f962c74879713d9aa6aeb09993dd7d80bccedd0 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Wed, 2 Sep 2020 09:11:08 +0100 Subject: add support for groff mom filter --- src/cmark.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cmark.h') 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 */ -- cgit v1.2.3