Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- render :: Pretty v => RenderConfig -> KVITable v -> Text
- data RenderConfig = RenderConfig {
- hideBlankRows :: Bool
- hideBlankCols :: Bool
- equisizedCols :: Bool
- sortKeyVals :: Bool
- colStackAt :: Maybe Key
- rowRepeat :: Bool
- rowGroup :: [Key]
- caption :: Maybe Text
- defaultRenderConfig :: RenderConfig
Documentation
render :: Pretty v => RenderConfig -> KVITable v -> Text Source #
Renders the specified table in ASCII format, using the specified
RenderConfig
controls.
data RenderConfig Source #
The RenderConfig
specifies the various controls and
configurations used when rendering a KVITable
in various formats.
The RenderConfig
is global t oall formats, although some of the
fields in the RenderConfig
will be ignored as not-applicable by
some formats.
RenderConfig | |
|
defaultRenderConfig :: RenderConfig Source #
Returns the default rendering configuration, to be used with a
format-specific render
call.