ANSI2HTML_PY(1)

πŸ“¦ version 1.9.2, in ubuntu resolute, ubuntu stonking

✨ ANSI2HTML_PY ✨ (User Commands) πŸŽ€

Okay so bestie, the manual name is ansi2html_py and its whole job is to translate ANSI text output into HTML πŸ’– It's giving colourful terminal output, but make it web-friendly 🌈


πŸ¦‹ NAME

ansi2html_py β€” translate ANSI text output to HTML ✨

πŸŽ€ SYNOPSIS

usage: $ ls --color=always | ansi2html > directories.html $ sudo tail /var/log/messages | ccze -A | ansi2html > logs.html $ task burndown | ansi2html > burndown.html

πŸ’… DESCRIPTION

Okay so the usage vibes are: pipe your coloured output in and it spits out HTML. Like ls --color=always | ansi2html > directories.html, or sudo tail /var/log/messages | ccze -A | ansi2html > logs.html, or task burndown | ansi2html > burndown.html πŸ“

✨ OPTIONS ✨

  • -h, --help β€” show this help message and exit πŸ™ˆ
  • -V, --version β€” show program's version number and exit πŸ”₯
  • -p, --partial β€” Process lines as they come in, no headers produced 🧚
  • -L, --latex β€” Export as LaTeX instead of HTML πŸ’œ
  • -i, --inline β€” Inline style without headers or template 🌸
  • -H, --headers β€” Just produce the <style> tag 🫢
  • -f, --font-size SIZE β€” Set the global font size in the output πŸ’–
  • -l, --light-background β€” Set output to 'light background' mode β˜€οΈ
  • -W, --no-line-wrap β€” Disable line wrapping πŸ¦‹
  • -a, --linkify β€” Transform URLs into <a> links 🌈
  • -u, --unescape β€” Do not escape XML tags found in the input 😭
  • -m, --markup-lines β€” Surround lines with <span id='line-n'>..</span> ⭐
  • --input-encoding ENCODING β€” Specify input encoding πŸ“
  • --output-encoding ENCODING β€” Specify output encoding 🧚
  • -s, --scheme SCHEME β€” Specify colour palette scheme. Default: 'ansi2html'. Choices: ['ansi2html', 'dracula', 'mint-terminal', 'osx', 'osx-basic', 'osx-solid-colors', 'solarized', 'xterm'] πŸ‘‘
  • -t, --title OUTPUT_TITLE β€” Specify output title πŸ’…

Sign-off time, bestie 🫢 This is ansi2html_py 1.9.2 from January 2026, and you literally got the whole manual served πŸ’…βœ¨

πŸ“¦ where this page comes from