This plugin implements a type of ASCII-style tables inspired by GitHub-flavored Markdown, Pandoc's pipe tables and PHP Markdown Extra's simple tables.
See its Syntax.
References
Example
$configurator = new s9e\TextFormatter\Configurator;
$configurator->plugins->load('PipeTables');
// Get an instance of the parser and the renderer
extract($configurator->finalize());
$text = 'a | b' . "\n"
. '--|--' . "\n"
. 'c | d';
$xml = $parser->parse($text);
$html = $renderer->render($xml);
echo $html;
<table><thead><tr><th>a</th><th>b</th></tr></thead>
<tbody><tr><td>c</td><td>d</td></tr></tbody></table>