git.iko.soy/typeable/pandoc
on master help sign in
Use doctemplates 0.2.1: allows `$--` line comments in templates.

Closes #3806.

commitdc92c348275ad2de1da94033e0096cd610ee4883 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 20 Oct 2017, 22:42 (9 years ago) parent21328a8
4 files changed+9−6
MANUAL.txt+3 pandoc.cabal+1−1 stack.pkg.yaml+3−3 stack.yaml+2−2
MANUAL.txt+3
@@ -1643,6 +1643,9 @@ and modifying your custom templates accordingly. An easy way to do this
16431643is to fork the [pandoc-templates] repository and merge in changes after each
16441644pandoc release.
16451645
1646+Templates may contain comments: anything on a line after `$--`
1647+will be treated as a comment and ignored.
1648+
16461649[pandoc-templates]: https://github.com/jgm/pandoc-templates
16471650
16481651Pandoc's Markdown
pandoc.cabal+1−1
@@ -334,7 +334,7 @@ library
334334 JuicyPixels >= 3.1.6.1 && < 3.3,
335335 Glob >= 0.7 && < 0.9,
336336 cmark-gfm >= 0.1.1 && < 0.2,
337− doctemplates >= 0.1 && < 0.2,
337+ doctemplates >= 0.2.1 && < 0.3,
338338 http-client >= 0.4.30 && < 0.6,
339339 http-client-tls >= 0.2.4 && < 0.4,
340340 http-types >= 0.8 && < 0.10,
stack.pkg.yaml+3−3
@@ -18,12 +18,12 @@ packages:
1818 extra-dep: false
1919extra-deps:
2020- pandoc-types-1.17.2
21−- texmath-0.9.4.4
2221- hslua-0.9.0
2322- skylighting-0.4.1
2423- cmark-gfm-0.1.1
2524- QuickCheck-2.10.0.1
2625- tasty-quickcheck-0.9.1
27−- haddock-library-1.4.3
2826- hs-bibutils-6.2.0.1
29−resolver: lts-9.1
27+- doctemplates-0.2.1
28+- haddock-library-1.4.3
29+resolver: lts-9.9
stack.yaml+2−2
@@ -8,11 +8,11 @@ packages:
88- '.'
99extra-deps:
1010- pandoc-types-1.17.2
11−- texmath-0.9.4.4
1211- hslua-0.9.0
1312- skylighting-0.4.1
1413- cmark-gfm-0.1.1
1514- QuickCheck-2.10.0.1
1615- tasty-quickcheck-0.9.1
16+- doctemplates-0.2.1
1717- haddock-library-1.4.3
18−resolver: lts-9.1
18+resolver: lts-9.9