Markdown::Parser::Insertion - Markdown Insertion Element
my $o = Markdown::Parser::Insertion->new; # or $doc->add_element( $o->create_subscript( @_ ) );
v0.2.0
This class represents an insertion formatting. It is used by Markdown::Parser and inherits from Markdown::Parser::Element
For example:
Tickets for the event are ~~€5~~ ++€10++
Which would become:
Tickets for the event are <del>€5</del> <ins>€10</ins>
With €5 being stroken through and €10 being highlighted as being added. The actual representation depends on the web browser of course.
€5
€10
Returns a string representation of the insertion formatted in markdown.
It returns a plain string.
Returns a string representation of the insertion formatted in pod.
It returns a plain string, but it actually returns the original string whatever it was, because there is no equivalent to insertion in pod.
insertion
Returns an html representation of the insertion formatting.
Mozilla explanation of the tag
Jacques Deguest <jack@deguest.jp>
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.
To install Markdown::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Markdown::Parser
CPAN shell
perl -MCPAN -e shell install Markdown::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.