table-layout

Format tabular data as grid or table.

https://github.com/muesli4/table-layout

Latest on Hackage:1.0.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Moritz Bruder
Maintained by [email protected]

`table-layout` is a library for text-based table layout and cell formatting with the following features:

  • Set a policy for each column to determine the width.

  • Position content in a column at a certain position.

  • Align content in a column at a character occurence.

  • Highlight trimmed content with cut marks.

  • Draw fancy tables with optional headers and user styles.

  • Automatically justify text and create multi-line table cells.

The module Text.Layout.Table contains everything that is required. However, all of the intermediate functionality is also exposed which makes it easy to create something completely new. A small tutorial is provided in the README.md file.