File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # aha
2+
3+ > Convert ANSI escape sequences to HTML.
4+ > More information: < https://manned.org/aha > .
5+
6+ - Convert terminal output to HTML:
7+
8+ ` {{color_command}} | aha > {{path/to/output}}.html `
9+
10+ - Read from a file instead of ` stdin ` :
11+
12+ ` aha -f {{path/to/input.txt}} > {{path/to/output}}.html `
13+
14+ - Convert to HTML with a black background:
15+
16+ ` {{color_command}} | aha {{[-b|--black]}} > {{path/to/output}}.html `
17+
18+ - Convert to HTML with a pink background and set the document title:
19+
20+ ` {{color_command}} | aha {{[-p|--pink]}} {{[-t|--title]}} "{{title}}" > {{path/to/output}}.html `
21+
22+ - Add a CSS file to the HTML output:
23+
24+ ` {{color_command}} | aha {{[-c|--css]}} {{path/to/style}}.css > {{path/to/output}}.html `
25+
26+ - Enable word-wrap to prevent horizontal scrolling:
27+
28+ ` {{color_command}} | aha {{[-w|--word-wrap]}} > {{path/to/output}}.html `
29+
30+ - Display help:
31+
32+ ` aha {{[-h|--help]}} `
You can’t perform that action at this time.
0 commit comments