NAME

Markdown::Parser::Superscript - Markdown Superscript Element

SYNOPSIS

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

VERSION

v0.3.0

DESCRIPTION

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

For example:

2^10^ is 1024.

METHODS

as_markdown

Returns a string representation of the superscript formatted in markdown.

It returns a plain string.

as_pod

Returns a string representation of the superscript formatted in pod.

It returns a plain string.

as_string

Returns an html representation of the superscript 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.