git.iko.soy/typeable/pandoc
on master help sign in
Require doctemplates 0.8.2.
commit58cd731e51f0dfd46895d4278c28402a65c93805 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 12 Apr 2020, 22:25 (7 years ago) parentc1f5f3f
3 files changed+19−3
MANUAL.txt+16 pandoc.cabal+2−2 stack.yaml+1−1
MANUAL.txt+16
@@ -1969,6 +1969,22 @@ Currently the following pipes are predefined:
19691969- `reverse`: Reverses a textual value or array,
19701970 and has no effect on other values.
19711971
1972+- `first`: Returns the first value of an array, if
1973+ applied to a non-empty array; otherwise returns
1974+ the original value.
1975+
1976+- `last`: Returns the last value of an array, if
1977+ applied to a non-empty array; otherwise returns
1978+ the original value.
1979+
1980+- `rest`: Returns all but the first value of an array, if
1981+ applied to a non-empty array; otherwise returns
1982+ the original value.
1983+
1984+- `allbutlast`: Returns all but the last value of an array, if
1985+ applied to a non-empty array; otherwise returns
1986+ the original value.
1987+
19721988- `chomp`: Removes trailing newlines (and breakable space).
19731989
19741990- `nowrap`: Disables line wrapping on breakable spaces.
pandoc.cabal+2−2
@@ -423,7 +423,7 @@ library
423423 JuicyPixels >= 3.1.6.1 && < 3.4,
424424 Glob >= 0.7 && < 0.11,
425425 cmark-gfm >= 0.2 && < 0.3,
426− doctemplates >= 0.8 && < 0.9,
426+ doctemplates >= 0.8.2 && < 0.9,
427427 network-uri >= 2.6 && < 2.7,
428428 network >= 2.6,
429429 http-client >= 0.4.30 && < 0.7,
@@ -746,7 +746,7 @@ test-suite test-pandoc
746746 executable-path >= 0.0 && < 0.1,
747747 zip-archive >= 0.2.3.4 && < 0.5,
748748 xml >= 1.3.12 && < 1.4,
749− doctemplates >= 0.8 && < 0.9,
749+ doctemplates >= 0.8.2 && < 0.9,
750750 Glob >= 0.7 && < 0.11
751751 other-modules: Prelude
752752 Tests.Old
stack.yaml+1−1
@@ -23,7 +23,7 @@ extra-deps:
2323- jira-wiki-markup-1.3.0
2424- HsYAML-0.2.0.0
2525- HsYAML-aeson-0.2.0.0
26−- doctemplates-0.8.1
26+- doctemplates-0.8.2
2727- pandoc-citeproc-0.17
2828ghc-options:
2929 "$locals": -fhide-source-paths -Wno-missing-home-modules