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. --- man/man3/cmark.3 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/man3/cmark.3 b/man/man3/cmark.3 index 2c4dd14..c8fc4c7 100644 --- a/man/man3/cmark.3 +++ b/man/man3/cmark.3 @@ -1,4 +1,4 @@ -.TH cmark 3 "January 28, 2015" "LOCAL" "Library Functions Manual" +.TH cmark 3 "February 14, 2015" "LOCAL" "Library Functions Manual" .SH NAME .PP @@ -520,6 +520,18 @@ Render \f[C]softbreak\f[] elements as hard line breaks. .PP Normalize tree by consolidating adjacent text nodes. +.PP +.nf +\fC +.RS 0n +#define CMARK_OPT_SMARTPUNCT 8 +.RE +\f[] +.fi + +.PP +Convert straight quotes to curly, \-\-\- to em dashes, \-\- to en dashes. + .SS Version information -- cgit v1.2.3