hable-0.3.0: customizable pretty printer library for tables

Safe HaskellSafe
LanguageHaskell2010

Hable.Style.OrgMode

Synopsis

Documentation

orgModeCharset :: BoxChar style -> String Source #

A charset based on the syntax of Emacs' Org-Mode spreadsheet. It uses +, - and | and ignores any style.

An example output:

>>> putStr (hable myConfig { charset = orgModeCharset, hStyleAt = \_ _ -> Just (), vStyleAt = \_ _ -> Just () } myTable)
|----------------------+------------------------------------------------|
| Name                 | Hable                                          |
|----------------------+------------------------------------------------|
| Synopsis             | customizable pretty printer library for tables |
|----------------------+------------------------------------------------|
| License              | Public Domain / Unlicense                      |
|----------------------+------------------------------------------------|