pandoc/stack.yaml
Christian Despres 10c6c411f9
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.
2020-09-05 14:36:51 -07:00

39 lines
796 B
YAML

flags:
pandoc:
trypandoc: false
embed_data_files: true
static: false
pandoc-citeproc:
bibutils: true
embed_data_files: true
unicode_collation: false
test_citeproc: false
debug: false
packages:
- '.'
extra-deps:
- git: https://github.com/jgm/pandoc-types
commit: 8e9ca37802120f32ececac752d73463e2fc86811
- pandoc-citeproc-0.17.0.2
- rfc5051-0.2
- texmath-0.12.0.2
- haddock-library-1.9.0
- skylighting-0.10
- skylighting-core-0.10
- doclayout-0.3
- emojis-0.1
- hslua-1.1.2
- jira-wiki-markup-1.3.2
- HsYAML-0.2.1.0
- HsYAML-aeson-0.2.0.0
- doctemplates-0.8.2
- commonmark-0.1.0.2
- commonmark-extensions-0.2.0.1
- commonmark-pandoc-0.2.0.0
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
resolver: lts-14.6
nix:
packages: [zlib]