Google Markdown¶
The md layout reads and writes records as Markdown tables using an interface
that looks like csv.
Standard Markdown does not support tables, but Google Markdown as used in github does. This layout lets you read and write that layout for text record processing.
- class txf.layouts.md.LineReader(iterable, **config)¶
An
iteratorthat returns strings parsed withsplit_escaped(). It skips rows which are header layoutting.
- class txf.layouts.md.DictReader(iterable[, fieldnames=None[, **config]])¶
An
iteratorthat returns strings parsed withsplit_escaped(). It is a subclass ofDictReaderand reads thefieldnamesfrom the header row if they have not been supplied.
- class txf.layouts.md.LineWriter(outfile, fieldnames, **config)¶
An
txf.layouts.LineWriterthat returns strings joined withjoin_escaped(). It skips rows which are header layoutting.