aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-04-12 22:25:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-04-12 22:25:31 -0700
commit58cd731e51f0dfd46895d4278c28402a65c93805 (patch)
tree127331b4b6d5732622c6b7f9326e30e9ae6352a1 /MANUAL.txt
parentc1f5f3fa67fe2bf62a0810cf9f338ac7b0999084 (diff)
downloadpandoc-58cd731e51f0dfd46895d4278c28402a65c93805.tar.gz
Require doctemplates 0.8.2.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 14f2bef2f..0568bbeb8 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1969,6 +1969,22 @@ Currently the following pipes are predefined:
- `reverse`: Reverses a textual value or array,
and has no effect on other values.
+- `first`: Returns the first value of an array, if
+ applied to a non-empty array; otherwise returns
+ the original value.
+
+- `last`: Returns the last value of an array, if
+ applied to a non-empty array; otherwise returns
+ the original value.
+
+- `rest`: Returns all but the first value of an array, if
+ applied to a non-empty array; otherwise returns
+ the original value.
+
+- `allbutlast`: Returns all but the last value of an array, if
+ applied to a non-empty array; otherwise returns
+ the original value.
+
- `chomp`: Removes trailing newlines (and breakable space).
- `nowrap`: Disables line wrapping on breakable spaces.