1HTML::WikiConverter::MaUrskedrowCno(n3t)ributed Perl DocHuTmMeLn:t:aWtiikoinConverter::Markdown(3)
2
3
4
6 HTML::WikiConverter::Markdown - Convert HTML to Markdown markup
7
9 use HTML::WikiConverter;
10 my $wc = new HTML::WikiConverter( dialect => 'Markdown' );
11 print $wc->html2wiki( $html );
12
14 This module contains rules for converting HTML into Markdown markup.
15 You should not use this module directly; HTML::WikiConverter is the
16 entry point for html->wiki conversion (eg, see synopsis above). See
17 HTML::WikiConverter for additional usage details.
18
20 In addition to the regular set of attributes recognized by the
21 HTML::WikiConverter constructor, this dialect also accepts the
22 following attributes that can be passed into the "new()" constructor.
23 See "ATTRIBUTES" in HTML::WikiConverter for usage details.
24
25 header_style
26 Possible values: 'setext', 'atx'. Determines how headers "h1"-"h6" will
27 be formatted. See
28 <http://daringfireball.net/projects/markdown/syntax#header> for more
29 information. Default is 'atx'.
30
31 link_style
32 Possible values: 'inline', 'reference'. See
33 <http://daringfireball.net/projects/markdown/syntax#link> for more
34 information. Default is 'reference'.
35
36 force_inline_anchor_links
37 Possible values: 0, 1. If enabled, links to anchors within the same
38 page (eg, "#some-anchor") will always produce inline Markdown links,
39 even under reference link style. This might be useful for building
40 tables of contents. Default is 0.
41
42 image_style
43 Possible values: 'inline', 'reference'. See
44 <http://daringfireball.net/projects/markdown/syntax#img> for more
45 information. Default is 'reference'.
46
47 image_tag_fallback
48 Possible values: 0, 1. Markdown's image markup does not support image
49 dimensions. If "image_tag_fallback" is enabled, image tags containing
50 dimensional information (ie, width or height) will not be converted
51 into Markdown markup. Rather, they will be roughly preserved in their
52 HTML form. Default is 1.
53
54 unordered_list_style
55 Possible values: 'asterisk', 'plus', 'dash'. See
56 <http://daringfireball.net/projects/markdown/syntax#list> for more
57 information. Default is 'asterisk'.
58
59 ordered_list_style
60 Possible values: 'sequential', 'one-dot'. Markdown supports two
61 different markups for ordered lists. Sequential style gives each list
62 element its own ordinal number (ie, '1.', '2.', '3.', etc.). One-dot
63 style gives each list element the same ordinal number (ie, '1.'). See
64 <http://daringfireball.net/projects/markdown/syntax#list> for more
65 information. Default is 'sequential'.
66
68 David J. Iberri, "<diberri at cpan.org>"
69
71 Please report any bugs or feature requests to
72 "bug-html-wikiconverter-markdown at rt.cpan.org", or through the web
73 interface at
74 http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-Markdown
75 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-
76 Markdown>. I will be notified, and then you'll automatically be
77 notified of progress on your bug as I make changes.
78
80 You can find documentation for this module with the perldoc command.
81
82 perldoc HTML::WikiConverter::Markdown
83
84 You can also look for information at:
85
86 · AnnoCPAN: Annotated CPAN documentation
87
88 http://annocpan.org/dist/HTML-WikiConverter-Markdown
89 <http://annocpan.org/dist/HTML-WikiConverter-Markdown>
90
91 · CPAN Ratings
92
93 http://cpanratings.perl.org/d/HTML-WikiConverter-Markdown
94 <http://cpanratings.perl.org/d/HTML-WikiConverter-Markdown>
95
96 · RT: CPAN's request tracker
97
98 http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-Markdown
99 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-
100 Markdown>
101
102 · Search CPAN
103
104 http://search.cpan.org/dist/HTML-WikiConverter-Markdown
105 <http://search.cpan.org/dist/HTML-WikiConverter-Markdown>
106
108 Copyright 2006 David J. Iberri, all rights reserved.
109
110 This program is free software; you can redistribute it and/or modify it
111 under the same terms as Perl itself.
112
113
114
115perl v5.12.0 2009-03-17 HTML::WikiConverter::Markdown(3)