aha takes SGR-colored Input and prints W3C conform
HTML-Code.
aha reads the Input from a file or stdin and writes HTML-Code to
stdout.
- --help , -h ,
-?
- A help like this
- --black , -b
- Black Background and white "standard color"
- --pink , -p
- Pink Background
- --stylesheet ,
-s
- Use a stylesheet instead of inline styles
- --iso X , -i X
- Uses ISO 8859-X instead of utf-8. X must be 1..16
- --title X , -t
X
- Gives the html output the title "X" instead of stdin or the
filename
- --line-fix ,
-l
- Uses a fix for inputs using control sequences to change the cursor
position like htop. It's a hot fix, it may not work with any program like
htop. (See EXAMPLE)
- --word-wrap ,
-w
- Wrap long lines in the html file. This works with CSS3 supporting browsers
as well as many older ones.
- --no-header , -n
- Don't include header into generated HTML, useful for inclusion in full
HTML files.
Copyleft Alexander Matthes aka Ziz 2018
ziz@mailbox.org
https://github.com/theZiz/aha