Markdown::Parser::TableCaption - Markdown Table Caption Element
my $o = Markdown::Parser::TableCaption->new; $o->add_element( $o->create_text( @_ ) );
v0.2.0
This is a class object to represent a table caption. It is used by Markdown::Parser and inherits from Markdown::Parser::Element
Returns a string representation of the table caption 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.
Returns a string representation of the table caption formatted in pod.
Returns an html representation of the table caption. It calls each of its children that should be Markdown::Parser::TableRow objects to get their respective html representation.
Sets or get the position value for this caption. Valid value are top or bottom. This only affects how the table is displayed in Markdown.
Jacques Deguest <jack@deguest.jp>
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.
To install Markdown::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Markdown::Parser
CPAN shell
perl -MCPAN -e shell install Markdown::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.