HTML::...ddmuse(3pm)

πŸ“¦
version 0.52 Β· 2 versions
  • 0.52 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.52 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

HTML::WikiConverter::Oddmuse β€” the lil glow-up module that turns your HTML into Oddmuse markup. bestie it literally says it right there in the name πŸ’…


✨ SYNOPSIS ✨

okay so here's the whole vibe in three lines, no cap:

use HTML::WikiConverter;
my $wc = new HTML::WikiConverter( dialect => 'Oddmuse' );
print $wc->html2wiki( $html );

that's it. that's the whole thing. slay 🫢


πŸ’– DESCRIPTION πŸ’–

so this module is literally the rulebook for converting HTML into Oddmuse markup πŸ“–βœ¨ It's a dialect module, which means it supports most of Oddmuse's text formatting rules (the ones described over at [1], iykyk), and notably it handles:

  • bold, strong, italic, emphasized, and <u>underlined</u> text πŸ’…
  • paragraph blocks
  • external images πŸ–ΌοΈ
  • internal and external links πŸ”—
  • unordered and ordered lists πŸ“
  • tables [2]

and the receipts for those two footnotes:

for the actual usage deets, go peek at HTML::WikiConverter β€” it's giving main character energy for real 🌈


πŸ‘‘ ATTRIBUTES πŸ‘‘

so besides the regular set of attributes that the HTML::WikiConverter constructor already recognizes, this dialect is like "and one more thing πŸ’…" and also accepts these:

πŸͺ camel_case

a Boolean that says whether CamelCase links are enabled in the target Oddmuse installation. This one corresponds to Oddmuse's $WikiLinks configuration parameter, fr fr πŸŽ€

turning CamelCase links on will take HTML like this:

<p><a href="/wiki/CamelCase">CamelCase</a> links are fun.</p>

and glow it up into this Oddmuse markup:

CamelCase links are fun.

turning CamelCase links off β€” which is the default, bestie, don't forget 😌 β€” would convert that same HTML into:

[[CamelCase]] links are fun.

see how the brackets showed up? yeah. that's the difference. periodt πŸ’œ


πŸ¦‹ AUTHOR πŸ¦‹

David J. Iberri, "<diberri at cpan.org>" β€” thank you king, we owe you our whole wiki conversion pipeline πŸ™βœ¨


πŸ’€ BUGS πŸ’€

if you found a bug or you're craving a feature, pls pls pls report it to "bug-html-wikiconverter-oddmuse at rt.cpan.org" β€” or you can go through the web interface right here:

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-Oddmuse

and here's the cute part: I will be notified πŸ‘€ and then you'll automatically be notified of progress on your bug as changes get made. it's a whole group chat situation, we're both in the loop 🫢


🌈 SUPPORT 🌈

you can find the documentation for this module with the perldoc command:

perldoc HTML::WikiConverter::Oddmuse

and you can also go looking for info at these iconic spots:

  • AnnoCPAN: Annotated CPAN documentation πŸ“š

http://annocpan.org/dist/HTML-WikiConverter-Oddmuse

  • CPAN Ratings ⭐

http://cpanratings.perl.org/d/HTML-WikiConverter-Oddmuse

  • RT: CPAN's request tracker 🎫

http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-Oddmuse

  • Search CPAN πŸ”

http://search.cpan.org/dist/HTML-WikiConverter-Oddmuse


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. so like. go off, share it, remix it, the license said yes πŸ’…βœ¨


and that's the whole page bestie!! 🌸 this beauty shipped as part of perl v5.36.0 and the page is dated 2022-12-12 β€” and yeah the manual name got a lil scrunch, it's HTML::...ddmuse(3pm) if you need to cite it in your essay. ily, go convert some HTML πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from