From d6b7b1dc772249e9a1b56bcdd4ae816cc54edb51 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Jul 2020 15:17:06 -0700 Subject: Remove use of cmark-gfm for commonmark/gfm rendering. Instead rely on the markdown writer with appropriate extensions. Export writeCommonMark variant from Markdown writer. This changes a few small things in rendering markdown, e.g. w/r/t requiring backslashes before spaces inside super/subscripts. --- stack.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'stack.yaml') diff --git a/stack.yaml b/stack.yaml index 28f96b773..101dd80be 100644 --- a/stack.yaml +++ b/stack.yaml @@ -28,8 +28,14 @@ extra-deps: - HsYAML-aeson-0.2.0.0 - doctemplates-0.8.2 - commonmark-0.1.0.0 -- commonmark-extensions-0.1.0.0 -- commonmark-pandoc-0.1.0.0 +#- commonmark-extensions-0.1.0.0 +#- commonmark-pandoc-0.1.0.0 +- git: https://github.com/jgm/commonmark-hs + commit: 8d4442abc443ce0100cc87af797e7df9a72b9b9a + subdirs: + - commonmark-extensions + - commonmark-pandoc + ghc-options: "$locals": -fhide-source-paths -Wno-missing-home-modules resolver: lts-14.6 -- cgit v1.2.3