summaryrefslogtreecommitdiff
path: root/man/man3
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-14 16:36:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-14 17:52:55 -0800
commitbb26b18173df983c57459809e8b1691b89907a58 (patch)
treea7878c0960755c79bf79a310363f20a91c2c87d4 /man/man3
parentc6417fc0b9cd240eb175501d44f68ea9d4406ec4 (diff)
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.
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/cmark.314
1 files changed, 13 insertions, 1 deletions
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