NAME
Markdown::Parser::TableBody - Markdown Table Body Element
SYNOPSIS
my $o = Markdown::Parser::TableBody->new;
$o->add_element( $o->create_table_row( @_ ) );
VERSION
v0.3.0
DESCRIPTION
This is a class object to represent a table body. It is used by Markdown::Parser and inherits from Markdown::Parser::Element
METHODS
as_css_grid
Returns this table body as a CSS grid as a regular string.
This is quite a nifty feature that enables you to transform effortlessly a table into a CSS grid.
See "as_css_grid" in Markdown::Parser::Table
as_markdown
Returns a string representation of the table body formatted in markdown.
This method will call each row Markdown::Parser::TableRow object and get their respective markdown string representation.
It returns a plain string.
as_pod
Returns a string representation of the table body formatted in pod.
It returns a plain string.
as_string
Returns an html representation of the table body. It calls each of its children that should be Markdown::Parser::TableRow objects to get their respective html representation.
It returns a plain string.
reset
Reset any cache generated to allow for re-computation of css grid, markdown or stringification
AUTHOR
Jacques Deguest <jack@deguest.jp>
COPYRIGHT & LICENSE
Copyright (c) 2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.