NAME
Markdown::Parser::List - Markdown List Element
SYNOPSIS
my $o = Markdown::Parser::List->new;
# or
$doc->add_element( $o->create_list( @_ ) );
VERSION
v0.3.0
DESCRIPTION
This class represents a list. It is used by Markdown::Parser and inherits from Markdown::Parser::Element
METHODS
as_markdown
Returns a string representation of the list formatted in markdown.
It returns a plain string.
as_pod
Returns a string representation of the list formatted in pod.
It returns a plain string.
as_string
Returns an html representation of the list.
It returns a plain string.
indent
Sets or gets the indent level. This takes an integer as value and stores it as a Module::Generic::Number
Returns the current value.
order
Takes a boolean value. True when the list is ordered or false otherwise.
The value is stored as a Module::Generic::Boolean and it returns the current value.
SEE ALSO
Markdown original author reference on emphasis: https://daringfireball.net/projects/markdown/syntax#list
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.