HTML::...okuWiki(3pm)
β¨ HTML::WikiConverter::DokuWiki β the NAME situation β¨
okay bestie, welcome to HTML::WikiConverter::DokuWiki π β it's the Perl module that turns your HTML into DokuWiki markup. That's literally the whole job. It converts HTML β‘οΈ DokuWiki. No cap. π¦
It lives in the HTML::...okuWiki(3pm) manual page (yes the title's abbreviated like that, it's a whole thing, don't worry about it π
).
π SYNOPSIS π
the vibes, in code form:
use HTML::WikiConverter;
my $wc = new HTML::WikiConverter( dialect => 'DokuWiki' );
print $wc->html2wiki( $html );
like. that's it. that's the whole ritual. β¨
π DESCRIPTION π
This module is the little treasure chest of rules for converting HTML into DokuWiki markup. π¦β¨
If you want the full usage tea β extra details, more context, the whole lore β go read HTML::WikiConverter. This page is just the DokuWiki-flavored part. π«Ά
π ATTRIBUTES π
So the HTML::WikiConverter constructor already recognizes a regular set of attributes, right? Well on top of that, this dialect also accepts these extra ones π
πͺ camel_case πͺ
A boolean. It tells you whether CamelCase links are enabled in the target DokuWiki instance. π§
Turn CamelCase links on, and HTML like this:
<p><a href="/wiki:camelcase">CamelCase</a> links are fun.</p>
becomes this DokuWiki markup:
CamelCase links are fun.
Turn CamelCase links off β which is the default, btw, so if you don't say anything you get this β and that same HTML turns into:
[[CamelCase]] links are fun.
so basically: CamelCase on = bare word, CamelCase off (default) = wrapped in [[ ]]. iconic behavior honestly π₯
π AUTHOR π
David J. Iberri, "<diberri at cpan.org>" β the mastermind behind this whole thing, we stan π«Άπ
π BUGS π
Found a bug? Got a feature request? Don't suffer in silence bestie, spill it π
Report it to "bug-html-wikiconverter-dokuwiki at rt.cpan.org", or slide in through the web interface at:
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-DokuWiki>
and here's the deal: I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. it's giving mutual commitment, it's giving healthy communication π β¨
π¦ SUPPORT π¦
You can find the docs for this module with the perldoc command:
perldoc HTML::WikiConverter::DokuWiki
You can also go hunting for info at these spots π
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/HTML-WikiConverter-DokuWiki>
- CPAN Ratings
<http://cpanratings.perl.org/d/HTML-WikiConverter-DokuWiki>
- RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-DokuWiki>
- Search CPAN
<http://search.cpan.org/dist/HTML-WikiConverter-DokuWiki>
go forth and lurk, queen πΈ
β COPYRIGHT & LICENSE β
Copyright 2006 David J. Iberri, all rights reserved. π«‘
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
okay that's the whole page!! this was HTML::...okuWiki(3pm) β a.k.a. HTML::WikiConverter::DokuWiki β and it came from perl v5.32.0, dated 2021-01-05. ty for reading bestie, go convert some HTML, ily, periodt π
πβ¨
π¦ where this page comes from
- debian bookworm: libhtml-wikiconverter-dokuwiki-perl 0.53-2.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-wikiconverter-dokuwiki-perl 0.53-2.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms