HTML::...xt::W3m(3pm)
π HTML::FormatText::W3m β bestie edition β¨
okay so this is HTML::FormatText::W3m, a little Perl module from the User Contributed Perl Documentation crew that takes your HTML and turns it into plain text. it's giving "glow down but make it intentional" π¦
πΈ NAME πΈ
HTML::FormatText::W3m β format HTML as plain text using w3m π
β¨ SYNOPSIS β¨
here's the vibe, copy-paste ready, no cap:
use HTML::FormatText::W3m;
$text = HTML::FormatText::W3m->format_file ($filename);
$text = HTML::FormatText::W3m->format_string ($html_string);
$formatter = HTML::FormatText::W3m->new (rightmargin => 60);
$tree = HTML::TreeBuilder->new_from_file ($filename);
$text = $formatter->format ($tree);
like, you can go in with a file, you can go in with a string, or you can build your own formatter object and hand it a whole tree. pick your fighter π«Ά
π DESCRIPTION π
so HTML::FormatText::W3m turns HTML into plain text using the w3m program. that's it, that's the whole personality. the actual work is being done by w3m, our icon, our main character π
the module lives here, go say hi:
<http://sourceforge.net/projects/w3m>
the interface is compatible with formatters like HTML::FormatText, but heads up bestie β all the parsing etc is done by w3m. so it's not the same engine under the hood, it's just dressed the same. it's giving same outfit, different girl π
also, go read HTML::FormatExternal for the formatting functions and options, because all of them are supported by HTML::FormatText::W3m. every single one. no crumbs left behind β¨
π SEE ALSO π
HTML::FormatExternalw3m(1)
π HOME PAGE π
<http://user42.tuxfamily.org/html-formatexternal/index.html>
π LICENSE π
Copyright 2008, 2009, 2010, 2013, 2015 Kevin Ryde
HTML-FormatExternal is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
HTML-FormatExternal is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with HTML-FormatExternal. If not, see <http://www.gnu.org/licenses/>.
fr fr read the license, it's not a vibe check you can skip π¨
and that's the whole page, bestie! π this one came from perl v5.36.0, dated 2022-11-19, and it's part of HTML::...xt::W3m(3pm) β stay hydrated, stay formatted, mwah ππ¦β¨
π¦ where this page comes from
- debian bookworm: libhtml-formatexternal-perl 26-6 Β· GPL-3.0-or-later
- debian trixie: libhtml-formatexternal-perl 26-6 Β· GPL-3.0-or-later
- ubuntu noble: libhtml-formatexternal-perl 26-6 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms