From 1fe97422630d4aa5644d55b0b3b41b0978b7fea0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 20 Oct 2019 22:49:04 -0700 Subject: 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. --- stack.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'stack.yaml') 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 -- cgit v1.2.3