From bb26b18173df983c57459809e8b1691b89907a58 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 14 Feb 2015 16:36:43 -0800 Subject: Added CMARK_OPT_SMARTPUNCT and --smart option. So far this is only implemented for the HTML renderer. Ultimately some of this should be factored out into a form that can be used in other renderers. --- src/cmark.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cmark.h') diff --git a/src/cmark.h b/src/cmark.h index 9f312bc..f106371 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -496,6 +496,10 @@ char *cmark_render_man(cmark_node *root, long options); */ #define CMARK_OPT_NORMALIZE 4 +/** Convert straight quotes to curly, --- to em dashes, -- to en dashes. + */ +#define CMARK_OPT_SMARTPUNCT 8 + /** * ## Version information */ -- cgit v1.2.3