diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-12-07 11:41:47 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-12-07 11:42:29 -0800 |
commit | e16fd88c2efe955c33327b5550a9bbd99c9fb10f (patch) | |
tree | f4ae87c31e8e7e4ef7f8421dfd80c1614b105e7a | |
parent | 8ad14d6f57ad27e3cc35c91cebd7bb5569f9bc4f (diff) | |
download | pandoc-e16fd88c2efe955c33327b5550a9bbd99c9fb10f.tar.gz |
Rename template 'filters' as 'pipes'
to avoid confusion with the other notion of filter used by pandoc.
We may want to rename this upstream in doctemplates as well.
-rw-r--r-- | MANUAL.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index c08ed3e83..4cc5c28b5 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1906,11 +1906,11 @@ $~$This long line may break if the document is rendered with a short line length.$~$ ``` -### Filters +### Pipes -A filter transforms the value of a variable or partial. Filters are +A pipe transforms the value of a variable or partial. Pipes are specified using a slash (`/`) between the variable name (or partial) -and the filter name. Example: +and the pipe name. Example: ``` $for(name)$ @@ -1924,7 +1924,7 @@ $endfor$ $employee:name()/uppercase$ ``` -Filters may be chained: +Pipes may be chained: ``` $for(employees/pairs)$ @@ -1932,7 +1932,7 @@ $it.key/alpha/uppercase$. $it.name$ $endfor$ ``` -Some filters take parameters: +Some pipes take parameters: ``` |----------------------|------------| @@ -1942,7 +1942,7 @@ $endfor$ |----------------------|------------| ``` -Currently the following filters are predefined: +Currently the following pipes are predefined: - `pairs`: Converts a map or array to an array of maps, each with `key` and `value` fields. If the original |