NAME

Markdown::Parser::Checkbox - Markdown Extended Checkbox Element

SYNOPSIS

my $o = Markdown::Parser::Checkbox->new;
# or
$doc->add_element( $o->create_checkbox( @_ ) );

VERSION

v0.2.0

DESCRIPTION

This class represents a checkbox formatting. It is used by Markdown::Parser and inherits from Markdown::Parser::Element

METHODS

as_markdown

Returns a string representation of the checkbox formatted in markdown.

It returns a plain string.

as_pod

Returns a string representation of the checkbox formatted in pod.

It returns a plain string.

as_string

Returns an html representation of the checkbox.

It returns a plain string.

checked

Boolean value that sets the checked status of the checkbox.

disabled

Boolean value that sets the disabled status of the checkbox.

SEE ALSO

Markdown original author reference on checkbox: https://github.github.com/gfm/#task-list-items-extension-

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.