summaryrefslogtreecommitdiff
path: root/stack.yaml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-10-20 22:49:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-29 22:21:35 -0700
commit1fe97422630d4aa5644d55b0b3b41b0978b7fea0 (patch)
tree32477f9869a265d9a275651b2715b5991c6cbb4c /stack.yaml
parent4d5fd9e2fe360e47fd5beab724c612ce29aa39ee (diff)
Changes to build with new doctemplates/doclayout.
The new version of doctemplates adds many features to pandoc's templating system, while remaining backwards-compatible. New features include partials and filters. Using template filters, one can lay out data in enumerated lists and tables. Templates are now layout-sensitive: so, for example, if a text with soft line breaks is interpolated near the end of a line, the text will break and wrap naturally. This makes the templating system much more suitable for programatically generating markdown or other plain-text files from metadata.
Diffstat (limited to 'stack.yaml')
-rw-r--r--stack.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/stack.yaml b/stack.yaml
index d9fb9335b..7b7610b8c 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -19,12 +19,10 @@ extra-deps:
- skylighting-0.8.2.3
- skylighting-core-0.8.2.3
- regex-pcre-builtin-0.95.0.8.8.35
-- doclayout-0.1
+- doclayout-0.2
- HsYAML-0.2.0.0
- HsYAML-aeson-0.2.0.0
-# - doctemplates-0.6.1
-- git: https://github.com/jgm/doctemplates.git
- commit: 0333142110e77408b8ee048064941884317aa757
+- doctemplates-0.7
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
resolver: lts-14.6