txt2html

Text to HTML converter

Install

All systems
curl cmd.cat/txt2html.sh
Debian Debian
apt-get install txt2html
Ubuntu
apt-get install txt2html
image/svg+xml Kali Linux
apt-get install txt2html
Windows (WSL2)
sudo apt-get update sudo apt-get install txt2html
Raspbian
apt-get install txt2html

txt2html

Text to HTML converter

txt2html is a Perl program that converts plain text to HTML. It supports headings, lists, simple character markup, and hyperlinking, and is highly customizable. It recognizes some of the apparent structure of the source document (mostly whitespace and typographic layout), and attempts to mark that structure explicitly using HTML. The purpose for this tool is to provide an easier way of converting existing text documents to HTML format, giving something nicer than just whapping the text into a big PRE block. txt2html can also be used to aid in writing new HTML documents, but there are probably better ways of doing that.