| 1 |
HTML::WikiConverter::Markdown |
| 2 |
============================= |
| 3 |
|
| 4 |
This module adds HTML-to-Markdown conversion to the |
| 5 |
HTML::WikiConverter module. |
| 6 |
|
| 7 |
SYNOPSIS |
| 8 |
|
| 9 |
Converting HTML to wiki markup is easy: |
| 10 |
|
| 11 |
use HTML::WikiConverter; |
| 12 |
my $wc = new HTML::WikiConverter( dialect => 'Markdown' ); |
| 13 |
print $wc->html2wiki( "<b>hello</b>" ); |
| 14 |
|
| 15 |
Or from the command line: |
| 16 |
|
| 17 |
% html2wiki --dialect Markdown input.html > output.wiki |
| 18 |
|
| 19 |
There's also a web interface if you're so inclined: |
| 20 |
|
| 21 |
http://diberri.dyndns.org/wikipedia/html2wiki/ |
| 22 |
|
| 23 |
INSTALLATION |
| 24 |
|
| 25 |
To install this module, run the following commands: |
| 26 |
|
| 27 |
perl Makefile.PL |
| 28 |
make |
| 29 |
make test |
| 30 |
make install |
| 31 |
|
| 32 |
For test coverage metrics run: |
| 33 |
|
| 34 |
perl Makefile.PL |
| 35 |
make |
| 36 |
cover -delete |
| 37 |
make test HARNESS_PERL_SWITCHES=-MDevel::Cover |
| 38 |
cover |
| 39 |
|
| 40 |
SUPPORT AND DOCUMENTATION |
| 41 |
|
| 42 |
After installing, you can find documentation for this module with the perldoc command. |
| 43 |
|
| 44 |
perldoc HTML::WikiConverter::Markdown |
| 45 |
|
| 46 |
You can also look for information at: |
| 47 |
|
| 48 |
Search CPAN |
| 49 |
http://search.cpan.org/dist/HTML-WikiConverter-Markdown |
| 50 |
|
| 51 |
CPAN Request Tracker: |
| 52 |
http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-Markdown |
| 53 |
|
| 54 |
AnnoCPAN, annotated CPAN documentation: |
| 55 |
http://annocpan.org/dist/HTML-WikiConverter-Markdown |
| 56 |
|
| 57 |
CPAN Ratings: |
| 58 |
http://cpanratings.perl.org/d/HTML-WikiConverter-Markdown |
| 59 |
|
| 60 |
COPYRIGHT AND LICENCE |
| 61 |
|
| 62 |
Copyright (c) David J. Iberri |
| 63 |
|
| 64 |
This program is free software; you can redistribute it and/or modify it |
| 65 |
under the same terms as Perl itself. |