Text::Markup::Any - Common Lightweight Markup Language Interface
use Text::Markup::Any; # OO Interface my $md = Text::Markup::Any->new('Text::Markdown'); my $html = $md->markup('# hoge'); # <h1>hoge</h1> # Functional Interface my $tx = markupper 'Textile'; # snip 'Text::' in functional inteface. my $html = $tx->markup('h1. hoge'); # <h1>hoge</h1>
Text::Markup::Any is Common Lightweight Markup Language Interface. Currently supported modules are Text::Markdown, Text::MultiMarkdown, Text::Markdown::Discount, Text::Markdown::GitHubAPI, Text::Markdown::Hoedown, Text::Xatena and Text::Textile.
Masayuki Matsuki <y.songmu@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Text::Markup::Any, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Markup::Any
CPAN shell
perl -MCPAN -e shell install Text::Markup::Any
For more information on module installation, please visit the detailed CPAN module installation guide.