libsoldout - Perl extension for libsoldout, a flexible library to parse markdow n language
use strict; use warnings; use libsoldout; my $markdown_txt = ' TEST ------ - one arg - two arg - something else '; my $html = &libsoldout::markdown2html($markdown_txt); print $html;
This module provies a simple access to libsoldout, a simple, fast and flexible markdown parser. This initial provides functions to convert three makrdown variants to HTML. markdown2html : Converts a strict markdown text in HTML markdown2discount_html : Converts a markdown text with discount extensions to HTML markdown2nat_html : Converts a markdown text with discount and natacha extensions to HTML
See http://fossil.instinctive.eu/libsoldout/index for more informations about libsoldout.
See http://www.pell.portland.or.us/~orc/Code/markdown/ for more informations about cdiscount markdown extensions.
Rodrigo OSORIO, <rodrigo@bebik.net> for this perl module
Natacha Porte, <natbsd@instinctive.eu> for libsoldout code
Copyright (C) 2012 by Rodrigo OSORIO
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.
To install libsoldout, copy and paste the appropriate command in to your terminal.
cpanm
cpanm libsoldout
CPAN shell
perl -MCPAN -e shell install libsoldout
For more information on module installation, please visit the detailed CPAN module installation guide.