text2html - convert plain text to HTML
version 2.07
text2html [options...] [file ...]
The text2html utility converts text to HTML. Text can come from standard input or files listed on the command line.
text2html
The available options are outlined in HTML::FromText. The option syntax is slightly different. Options are prefixed with two dashes (--) and may have an option value following an equals sign (=). The default value is on (<1>).
--
=
Convert the README file using paras and blockcode.
README
paras
blockcode
text2html --paras --blockcode README
Convert a file called --stupid-name.
--stupid-name
text2html --paras -- --stupid-name
Convert text on standard input.
text2html --paras --urls --email --bold --underline
Convert text on standard input but turn off metachars.
metachars
text2html --metachars=0 --lines
The text2html utility exits 0 on success, and >0 if an error occurs.
perl(1), HTML::FromText(3).
Ricardo SIGNES <rjbs@cpan.org>
Casey West <casey@geeknest.com>
Gareth Rees <garethr@cre.canon.co.uk>
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.
To install HTML::FromText, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FromText
CPAN shell
perl -MCPAN -e shell install HTML::FromText
For more information on module installation, please visit the detailed CPAN module installation guide.