git.iko.soy/typeable/pandoc
on master help sign in
Update MANUAL.txt for doctemplates changes.
0d4813dJohn MacFarlane
MANUAL.txt+8−4
@@ -1892,10 +1892,9 @@ with a short line length.$~$
1892
1892
1893### Filters
1893### Filters
1894
1894
1895−A filter transforms the value of a variable. Filters are
1895+A filter transforms the value of a variable or partial. Filters are
1896−specified using a slash (`/`) between the variable name and
1896+specified using a slash (`/`) between the variable name (or partial)
1897−the filter name. They may go anywhere a variable can go.
1898−Example:
1897+and the filter name. Example:
1899
1898
1900```
1899```
1901$for(name)$
1900$for(name)$
@@ -1905,6 +1904,8 @@ $endfor$
1905$for(metadata/pairs)$
1904$for(metadata/pairs)$
1906- $it.key$: $it.value$
1905- $it.key$: $it.value$
1907$endfor$
1906$endfor$
1907+
1908+$employee:name()/uppercase$
1908```
1909```
1909
1910
1910Filters may be chained:
1911Filters may be chained:
@@ -1945,6 +1946,9 @@ Currently the following filters are predefined:
1945- `reverse`: Reverses a textual value or array,
1946- `reverse`: Reverses a textual value or array,
1946 and has no effect on other values.
1947 and has no effect on other values.
1947
1948
1949+- `chomp`: Removes trailing newlines (and breakable space)
1950+ from a textual value, and has no effect on other values.
1951+
1948- `alpha`: Converts a textual value that can be
1952- `alpha`: Converts a textual value that can be
1949 read as an integer into a lowercase alphabetic
1953 read as an integer into a lowercase alphabetic
1950 character `a..z` (mod 26), and has no effect on
1954 character `a..z` (mod 26), and has no effect on