|
| Text.Pandoc.Blocks | | Portability | portable | | Stability | alpha | | Maintainer | John MacFarlane <jgm@berkeley.edu> |
|
|
|
| Description |
| Functions for the manipulation of fixed-width blocks of text.
These are used in the construction of plain-text tables.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| A fixed-width block of text. Parameters are width of block,
height of block, and list of lines.
| | Constructors | |
|
|
|
| :: Int | Width of text block.
| | -> Doc | Doc to convert.
| | -> TextBlock | | | Convert a Doc element into a TextBlock with a specified width.
|
|
|
|
| Convert a TextBlock to a Doc element.
|
|
|
| Returns width of a TextBlock (number of columns).
|
|
|
| Returns height of a TextBlock (number of rows).
|
|
|
| Concatenates a list of TextBlocks into a new TextBlock in
which they appear side by side.
|
|
|
| Like hcatBlocks, but inserts space between the TextBlocks.
|
|
|
| Centers the contents of a TextBlock within the block.
|
|
|
| Left-aligns the contents of a TextBlock within the block.
|
|
|
| Right-aligns the contents of a TextBlock within the block.
|
|
| Produced by Haddock version 2.6.0 |