TEXT2HTML(1)

πŸ“¦
version 2.07 Β· 2 versions
, in fedora 43

πŸ’– TEXT2HTML(1) β€” like, the whole vibe πŸ’–

okay bestie, sit down, hydrate, and let me tell you about text2html, a little utility from the User Contributed Perl Documentation corner of the universe (iykyk). it's giving "quiet legend." ✨


🌸 NAME 🌸

text2html β€” convert plain text to HTML. that's it, that's the job, and she does it gorgeously πŸ’…


πŸŽ€ VERSION πŸŽ€

version 2.07 β€” yes queen, we're on 2.07 🫢


✨ SYNOPSIS ✨

text2html [options...] [file ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the text2html utility converts text to HTML. the text can come from standard input or from files listed right there on the command line. your choice, no pressure, live your truth. πŸ’–

the available options are outlined in HTML::FromText β€” that's where the real lore lives. but heads up, the option syntax here is slightly different, okay?

  • options are prefixed with two dashes (--)
  • an option may have an option value following an equals sign (=)
  • the default value is on (1)

that's the whole system. no cap. 🌈


πŸ“ EXAMPLES πŸ“

convert the README file using paras and blockcode:

text2html --paras --blockcode README

convert a file called --stupid-name (yes, for real, that's the actual filename, not me being dramatic 😭):

text2html --paras -- --stupid-name

convert text on standard input:

text2html --paras --urls --email --bold --underline

convert text on standard input but turn off metachars:

text2html --metachars=0 --lines

πŸ’€ DIAGNOSTICS πŸ’€

the text2html utility exits 0 on success, and >0 if an error occurs. so like, zero means we ate, and anything above zero means something went sideways πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

perl(1), HTML::FromText(3). go read them, they're the supporting cast and they understood the assignment. ⭐


πŸ’œ AUTHORS πŸ’œ

  1. Ricardo SIGNES <rjbs@cpan.org>
  2. Casey West <casey@geeknest.com>
  3. Gareth Rees <garethr@cre.canon.co.uk>

three icons, one utility. main character energy all around 🧚


this software is copyright (c) 2003 by Casey West.

this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay πŸ’–


and that's the page, bestie! this whole thing shipped with perl v5.42.0, dated 2025-07-25, and it's filed under TEXT2HTML(1). obsessed with her, honestly. bye! πŸ‘‘βœ¨
πŸ“¦ where this page comes from