gridtables-0.0.2.0: Parser for reStructuredText-style grid tables.
Copyright© 2022 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <albert@zeitkraut.de>
Safe HaskellNone
LanguageHaskell2010

Text.GridTable.Parse

Description

Parse reStructuredText-style grid tables.

Synopsis

Documentation

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

Parses a grid table.

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

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