The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Markdown::Parser::Blockquote - Markdown Blockquote Element

SYNOPSIS

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

VERSION

    v0.2.0

DESCRIPTION

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

METHODS

append

Provided with some text, and this will append it to the existing text data stored as children element.

as_markdown

Returns a string representation of the blockquote formatted in markdown.

It returns a plain string.

as_pod

Returns a string representation of the blockquote formatted in pod.

It returns a plain string.

as_string

Returns an html representation of the blockquote.

It returns a plain string.

SEE ALSO

Markdown original author reference on blockquotes: https://daringfireball.net/projects/markdown/syntax#blockquote

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.