aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-18 20:13:21 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-18 20:13:21 -0800
commit038f70c84acf15d1c797f7ff1c806f571c9d9c1f (patch)
tree48764150bef8c4482a26c2977bbce75a3cde3d47 /man
parent822b2cf80a1305a1a02002b701723c1fb72a6bbb (diff)
downloadpandoc-038f70c84acf15d1c797f7ff1c806f571c9d9c1f.tar.gz
Update man page.
Diffstat (limited to 'man')
-rw-r--r--man/pandoc.112
1 files changed, 8 insertions, 4 deletions
diff --git a/man/pandoc.1 b/man/pandoc.1
index 37c27a68c..55a212bac 100644
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -1,5 +1,5 @@
.\"t
-.TH PANDOC 1 "November 16, 2019" "pandoc 2.8"
+.TH PANDOC 1 "November 18, 2019" "pandoc 2.8"
.SH NAME
pandoc - general markup converter
.SH SYNOPSIS
@@ -2137,10 +2137,9 @@ with a short line length.$\[ti]$
.fi
.SS Filters
.PP
-A filter transforms the value of a variable.
+A filter transforms the value of a variable or partial.
Filters are specified using a slash (\f[C]/\f[R]) between the variable
-name and the filter name.
-They may go anywhere a variable can go.
+name (or partial) and the filter name.
Example:
.IP
.nf
@@ -2152,6 +2151,8 @@ $endfor$
$for(metadata/pairs)$
- $it.key$: $it.value$
$endfor$
+
+$employee:name()/uppercase$
\f[R]
.fi
.PP
@@ -2196,6 +2197,9 @@ for a textual value, number of elements for a map or array.
\f[C]reverse\f[R]: Reverses a textual value or array, and has no effect
on other values.
.IP \[bu] 2
+\f[C]chomp\f[R]: Removes trailing newlines (and breakable space) from a
+textual value, and has no effect on other values.
+.IP \[bu] 2
\f[C]alpha\f[R]: Converts a textual value that can be read as an integer
into a lowercase alphabetic character \f[C]a..z\f[R] (mod 26), and has
no effect on other values.