summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-03 22:12:49 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2015-07-05 16:11:36 -0700
commitafc1b89ac71b642a841c8b79ea0ec6b70d2adae5 (patch)
tree4ef3e3080d2d38ca8514a6e3055c4817163b3012 /src/cmark.h
parent46e9ed6e0c118dc6b6a4a4833d6c960701849fdb (diff)
Added LaTeX renderer.
* New exported function in API: `cmark_render_latex`. * Added src/latex.hs. * Updated README and man page. * Closes #31.
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 192290c..6618301 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -486,6 +486,11 @@ char *cmark_render_man(cmark_node *root, int options);
CMARK_EXPORT
char *cmark_render_commonmark(cmark_node *root, int options, int width);
+/** Render a 'node' tree as a LaTeX document.
+ */
+CMARK_EXPORT
+char *cmark_render_latex(cmark_node *root, int options, int width);
+
/** Default writer options.
*/
#define CMARK_OPT_DEFAULT 0