diff options
author | KatolaZ <katolaz@freaknet.org> | 2020-09-02 09:11:08 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2020-09-02 09:11:08 +0100 |
commit | e79cc4d68e6333e13d53e5262572e99c6877cbc6 (patch) | |
tree | 3105ae7ab33bc6643218d9e39d377027b1826cf5 /src/cmark.h | |
parent | 59a8bd1e990a472bc6d8ec8bb54a514431ff854e (diff) |
add support for groff mom filter
Diffstat (limited to 'src/cmark.h')
-rw-r--r-- | src/cmark.h | 6 |
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 */ |