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
67 md_extra
68 Possible values: 0, 1. Support MarkDown Extra
69 <https://github.com/jmcmanus/pagedown-extra> extensions. Default is 0.
70
71 This support is incomplete.
72
73 # Tables Supported
74 # Fenced Code Blocks
75 # Definition Lists Supported
76 # Footnotes
77 # Special Attributes
78 # SmartyPants
79 # Newlines
80 # Strikethrough
81
83 David J. Iberri, "<diberri at cpan.org>"
84
86 Please report any bugs or feature requests to
87 "bug-html-wikiconverter-markdown at rt.cpan.org", or through the web
88 interface at
89 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-Markdown>.
90 I will be notified, and then you'll automatically be notified of
91 progress on your bug as I make changes.
92
94 You can find documentation for this module with the perldoc command.
95
96 perldoc HTML::WikiConverter::Markdown
97
98 You can also look for information at:
99
100 • AnnoCPAN: Annotated CPAN documentation
101
102 <http://annocpan.org/dist/HTML-WikiConverter-Markdown>
103
104 • CPAN Ratings
105
106 <http://cpanratings.perl.org/d/HTML-WikiConverter-Markdown>
107
108 • RT: CPAN's request tracker
109
110 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-Markdown>
111
112 • Search CPAN
113
114 <http://search.cpan.org/dist/HTML-WikiConverter-Markdown>
115
117 Copyright 2006 David J. Iberri, all rights reserved.
118
119 This program is free software; you can redistribute it and/or modify it
120 under the same terms as Perl itself.
121
122
123
124perl v5.34.0 2022-01-21 HTML::WikiConverter::Markdown(3)