summaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-07 11:17:24 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-07 11:23:29 -0800
commit52c591d75433b16cf32f4fae319ccb60b20f6ae7 (patch)
treeaf0e956b72dfbc3883252f48d3f2138b55aca367 /man/man1
parenta29c16c5e283fb50ecd318477072687caf987d4a (diff)
cmark: Add function & option to normalize text nodes.
So, instead of <text>Hi</text> <text>&amp;</text> <text>lo</text> we get <text>Hi&amp;lo</text> * Added exported `cmark_consolidate_text_nodes` function. * Added `CMARK_OPT_NORMALIZE` to options. * Added optional normalization in XML writer. * Added `--normalize` option to command-line program. * Updated man page.
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/cmark.19
1 files changed, 9 insertions, 0 deletions
diff --git a/man/man1/cmark.1 b/man/man1/cmark.1
index 2d5af77..c425b8c 100644
--- a/man/man1/cmark.1
+++ b/man/man1/cmark.1
@@ -23,6 +23,15 @@ concatenated before parsing.
\-\-to, \-t \f[I]FORMAT\f[]
Specify output format (\f[C]html\f[], \f[C]man\f[], \f[C]ast\f[]).
.TP 12n
+\-\-sourcepos
+Include source position attribute.
+.TP 12n
+\-\-hardbreaks
+Treat newlines as hard line breaks.
+.TP 12n
+\-\-normalize
+Consolidate adjacent text nodes.
+.TP 12n
\-\-help
Print usage information.
.TP 12n