![]() pad_headingsīoolean indicating whether section headings should be padded with spaces (eg, "= Section =" instead of "=Section="). If disabled (the default), nowiki tags will be replaced with their content. preserve_nowikiīoolean indicating whether tags found in HTML should be preserved in the wiki markup. If disabled (the default), templates calls will be wrapped in tags. When disabled (the default), the preceding HTML markup would be converted into * ''Italic''īoolean indicating whether calls found in HTML should be preserved in the wiki markup. When disabled (the default), the preceding HTML markup would be converted into * '''Bold'''īoolean indicating whether italic HTML elements should be preserved as HTML in the wiki output rather than being converted into MediaWiki markup.įor example, if preserve_italic is enabled, HTML like This attribute allows this.įor example, if preserve_bold is enabled, HTML like But sometimes you may wish tags in the HTML to be preserved in the resulting MediaWiki markup. In addition to the regular set of attributes recognized by the HTML::WikiConverter constructor, this dialect also accepts the following attributes: preserve_boldīoolean indicating whether bold HTML elements should be preserved as HTML in the wiki output rather than being converted into MediaWiki markup.īy default, and elements are converted to wiki markup identically. See HTML::WikiConverter for additional usage details. ![]() This module contains rules for converting HTML into MediaWiki markup. Print $wc->html2wiki( $html ) DESCRIPTION My $wc = new HTML::WikiConverter( dialect => 'MediaWiki' ) ![]() HTML::WikiConverter::MediaWiki - Convert HTML to MediaWiki markup SYNOPSIS use HTML::WikiConverter
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |