NAME

Markdown::Parser::TableRow - Markdown Table Row Element

SYNOPSIS

my $o = Markdown::Parser::TableRow->new;
$o->add_element( $o->create_table_cell( @_ ) );

VERSION

v0.3.0

DESCRIPTION

This is a class object to represent a table row. It is used by Markdown::Parser and inherits from Markdown::Parser::Element

METHODS

as_css_grid

Returns this table row 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 row formatted in markdown.

This method will call each cell Markdown::Parser::TableCell object and get their respective markdown string representation.

It returns a plain string.

as_pod

This performs the same as "as_markdown", but for pod.

Returns a string representation of the table row formatted in pod.

It returns a plain string.

as_string

Returns an html representation of the table row. It calls each of its children that should be Markdown::Parser::TableCell objects to get their respective html representation.

It returns a plain string.

height

Sets or gets the height of the row as integer. The value is stored as a Module::Generic::Number object.

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.