Text.GridTable.Parse

gridtables-0.1.0.0: Parser for reStructuredText-style grid tables.

Copyright | © 2022 Albert Krewinkel
License | MIT
Maintainer | Albert Krewinkel <albert@zeitkraut.de>
Safe Haskell | Safe-Inferred
Language | Haskell2010

Text.GridTable.Parse

Description

Parse reStructuredText-style grid tables.

Synopsis

- gridTable :: Stream s m Char => ParsecT s u m (ArrayTable [Text])
- tableLine :: Stream s m Char => ParsecT s u m Text

# Documentation

gridTable :: Stream s m Char => ParsecT s u m (ArrayTable [Text]) #

Parses a grid table.

tableLine :: Stream s m Char => ParsecT s u m Text #

Parses a line that's part of a table. The line must start with either a plus `+` or a pipe `|`.