aboutsummaryrefslogtreecommitdiff
path: root/stack.yaml
diff options
context:
space:
mode:
authorChristian Despres <50160106+despresc@users.noreply.github.com>2020-09-05 17:36:51 -0400
committerGitHub <noreply@github.com>2020-09-05 14:36:51 -0700
commit10c6c411f9bd582ce9bafe159728f322a54395cd (patch)
tree710e87c33e06824eeb171a5ddc5c9eb174c9f43e /stack.yaml
parent3935c9c5c4b070d43b2d7d946fd28dfdaf87e080 (diff)
downloadpandoc-10c6c411f9bd582ce9bafe159728f322a54395cd.tar.gz
Add Writers.Tables helper functions and types, add tests for those (#6655)
Add Writers.Tables helper functions and types, add tests for those The Writers.Tables module contains an AnnTable type that is a pandoc Table with added inferred information that should be enough for writers (in particular the HTML writer) to operate on without having to lay out the table themselves. The toAnnTable and fromAnnTable functions in that module convert between AnnTable and Table. In addition to producing an AnnTable with coherent and well-formed annotations, the toAnnTable function also normalizes its input Table like the table builder does. Various tests ensure that toAnnTable normalizes tables exactly like the table builder, and that its annotations are coherent.
Diffstat (limited to 'stack.yaml')
-rw-r--r--stack.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/stack.yaml b/stack.yaml
index 8e34f3399..15c0e7566 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -12,7 +12,8 @@ flags:
packages:
- '.'
extra-deps:
-- pandoc-types-1.21
+- git: https://github.com/jgm/pandoc-types
+ commit: 8e9ca37802120f32ececac752d73463e2fc86811
- pandoc-citeproc-0.17.0.2
- rfc5051-0.2
- texmath-0.12.0.2