diff options
author | Christian Despres <50160106+despresc@users.noreply.github.com> | 2020-09-05 17:36:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-05 14:36:51 -0700 |
commit | 10c6c411f9bd582ce9bafe159728f322a54395cd (patch) | |
tree | 710e87c33e06824eeb171a5ddc5c9eb174c9f43e /src/Text/Pandoc/Lua/ErrorConversion.hs | |
parent | 3935c9c5c4b070d43b2d7d946fd28dfdaf87e080 (diff) | |
download | pandoc-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 'src/Text/Pandoc/Lua/ErrorConversion.hs')
0 files changed, 0 insertions, 0 deletions