The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Markdown::Parser::Line - Markdown Line Element

SYNOPSIS

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

VERSION

    v0.2.0

DESCRIPTION

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

METHODS

as_markdown

Returns a string representation of the horizontal line formatted in markdown.

It returns a plain string.

as_pod

Returns a string representation of the horizontal line formatted in pod.

It returns a plain string.

as_string

Returns an html representation of the horizontal line.

It returns a plain string.

SEE ALSO

Markdown original author reference on emphasis: https://daringfireball.net/projects/markdown/syntax#hr

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.