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::Subscript - Markdown Subscript Element

SYNOPSIS

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

VERSION

    v0.2.0

DESCRIPTION

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

For example:

    log~10~100 is 2.

METHODS

as_markdown

Returns a string representation of the subscript formatted in markdown.

It returns a plain string.

as_pod

Returns a string representation of the subscript formatted in pod.

It returns a plain string.

as_string

Returns an html representation of the subscript formatting.

It returns a plain string.

SEE ALSO

Pandoc manual

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.