File: ansi2html_py.1

package info (click to toggle)
python-ansi2html 1.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 372 kB
  • sloc: python: 1,361; makefile: 3
file content (62 lines) | stat: -rw-r--r-- 1,715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.3.
.TH ANSI2HTML_PY "1" "January 2026" "ansi2html_py 1.9.2" "User Commands"
.SH NAME
ansi2html_py \- translate ANSI text output to HTML
.SH DESCRIPTION
usage:
$ ls \fB\-\-color\fR=\fI\,always\/\fR | ansi2html > directories.html
$ sudo tail \fI\,/var/log/messages\/\fP | ccze \fB\-A\fR | ansi2html > logs.html
$ task burndown | ansi2html > burndown.html
.SS "options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-V\fR, \fB\-\-version\fR
show program's version number and exit
.TP
\fB\-p\fR, \fB\-\-partial\fR
Process lines as them come in. No headers are
produced.
.TP
\fB\-L\fR, \fB\-\-latex\fR
Export as LaTeX instead of HTML.
.TP
\fB\-i\fR, \fB\-\-inline\fR
Inline style without headers or template.
.TP
\fB\-H\fR, \fB\-\-headers\fR
Just produce the <style> tag.
.TP
\fB\-f\fR, \fB\-\-font\-size\fR SIZE
Set the global font size in the output.
.TP
\fB\-l\fR, \fB\-\-light\-background\fR
Set output to 'light background' mode.
.TP
\fB\-W\fR, \fB\-\-no\-line\-wrap\fR
Disable line wrapping.
.TP
\fB\-a\fR, \fB\-\-linkify\fR
Transform URLs into <a> links.
.TP
\fB\-u\fR, \fB\-\-unescape\fR
Do not escape XML tags found in the input.
.TP
\fB\-m\fR, \fB\-\-markup\-lines\fR
Surround lines with <span id='line\-n'>..</span>.
.TP
\fB\-\-input\-encoding\fR ENCODING
Specify input encoding
.TP
\fB\-\-output\-encoding\fR ENCODING
Specify output encoding
.TP
\fB\-s\fR, \fB\-\-scheme\fR SCHEME
Specify color palette scheme. Default: 'ansi2html'.
Choices: ['ansi2html', 'dracula', 'mint\-terminal',
\&'osx', 'osx\-basic', 'osx\-solid\-colors', 'solarized',
\&'xterm']
.TP
\fB\-t\fR, \fB\-\-title\fR OUTPUT_TITLE
Specify output title