Markdent::Dialect::Theory(3pm) | User Contributed Perl Documentation | Markdent::Dialect::Theory(3pm) |
Markdent::Dialect::Theory - Markdown extensions proposed by David Wheeler (aka Theory)
use Markdent::Parser; my $parser = Markdent::Parser->new( dialects => 'Theory', handler => ... );
The Theory roles add parsing for Markdown extensions proposed by David Wheeler (aka Theory). See <http://justatheory.com/computers/markup/markdown-table-rfc.html> and <http://justatheory.com/computers/markup/modest-markdown-proposal.html> for details.
The dialect differs from David Wheeler's proposals in a few ways. Most of these deviations were discussed with David Wheeler and included with his approval.
| Header 1 | Header 2 | +==========+==========+ | Body 1 | Body 2 |
| Body 1 | Body 2 | | Body 3 | Body 4 |
+------+-------------+------------------------------+--------+ | id | name | description | price | +------+-------------+------------------------------+--------+ | 1 | gizmo | Takes care of the doohickies | 1.99 | | 2 | doodad | Collects *gizmos* | 23.80 | | 10 | dojigger | Foo | 102.98 | | 1024 | thingamabob | Self-explanatory, no? | 0.99 | +------+-------------+------------------------------+--------+
| cell1 | cell2 | : continues
Instead, you must write this:
| cell1 | cell2 | : : continues :
This is not an approved deviation, and may be corrected in a future release if I can figure out how to do so (patches welcome).
See Markdent for bug reporting details.
Dave Rolsky, <autarch@urth.org>
Copyright 2009-2012 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2021-08-31 | perl v5.32.1 |