NAME
Markdown::Parser::TableCaption - Markdown Table Caption Element
SYNOPSIS
my $o = Markdown::Parser::TableCaption->new;
$o->add_element( $o->create_text( @_ ) );
VERSION
v0.2.0
DESCRIPTION
This is a class object to represent a table caption. It is used by Markdown::Parser and inherits from Markdown::Parser::Element
METHODS
as_markdown
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.
as_pod
Returns a string representation of the table caption formatted in pod.
It returns a plain string.
as_string
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.
It returns a plain string.
position
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.
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.