aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-12-21 09:55:17 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-12-21 09:55:17 -0800
commit8734057dff33cbfad45c81847a1efd371380d5c4 (patch)
tree480e1dd4c90574bf1e6038eff7675928a363b643
parentd7cab5198269fbbdbc40f54a2ad7aeb83fee619f (diff)
downloadpandoc-8734057dff33cbfad45c81847a1efd371380d5c4.tar.gz
Put sourcepos attribute on header, not enclosing div...
with `-f commonmark+sourcepos`. Closes #7769.
-rw-r--r--cabal.project6
-rw-r--r--stack.yaml3
2 files changed, 9 insertions, 0 deletions
diff --git a/cabal.project b/cabal.project
index bc617093c..8e56ca0a4 100644
--- a/cabal.project
+++ b/cabal.project
@@ -15,5 +15,11 @@ source-repository-package
source-repository-package
type: git
+ location: https://github.com/jgm/commonmark-hs
+ tag: 4d460b206e0b1872376db86cadf7a4567eeddaed
+ subdir: commonmark-pandoc
+
+source-repository-package
+ type: git
location: https://github.com/jgm/ipynb.git
tag: 00246af10885c2ad4413ace4f69a7e6c88297a08
diff --git a/stack.yaml b/stack.yaml
index a76508782..702e3a780 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -39,6 +39,9 @@ extra-deps:
commit: 00246af10885c2ad4413ace4f69a7e6c88297a08
- git: https://github.com/pandoc/pandoc-lua-marshal
commit: 45e53d9dce37d20f8e30e0d297a43c5b4c4a6831
+- git: https://github.com/jgm/commonmark-hs
+ commit: 4d460b206e0b1872376db86cadf7a4567eeddaed
+ subdir: commonmark-pandoc
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
resolver: lts-18.10