CHILIGHT(1)

πŸ’– chilight(1) β€” the glow-up your C code deserves πŸ’–

okay bestie, listen. this is a page from the LOCAL manual, section 1, and it's about a lil tool called chilight. no cap, it's the moment your boring plaintext C file becomes ✨aesthetic✨. let's get into it 🫢


🌸 NAME 🌸

chilight β€” highlight a C source file

like... it literally makes your C code pretty. that's the whole job. iconic behavior honestly πŸ’…


✨ SYNOPSIS ✨

chilight [-V] [-f format] [-o file] [-t title] [-w width] [file ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

The chilight utility colorizes the input file, which is expected to be written in the C language, using text attributes or markups. she's not here to read your Rust, she's here to make your C sparkle πŸ’–

The options are as follows:

  • -f format β€” sets the output format to format. The format can be one of: ansi_color, ansi_bold, html_color, html_font, roff or tty (and tty is the default, so if you don't say anything she just goes with the vibe). pick your fighter, bestie 🌈
  • -o file β€” sets the output destination to file. like, where does the pretty go? you tell her πŸ“¬
  • -t title β€” specifies the page title for the generated HTML page. yes, that's the lil thing in the browser tab πŸŽ€
  • -V β€” prints version information on standard output, then exits. quick lil flex and she's out ✌️
  • -w width β€” sets the tab width for the roff style. Tabulator characters get converted to suitable amounts of space characters so the typographic quality on roff output is just... better, you know? 🌸 Acceptable values are in the range 1..16, which should be ample for most situations. don't get weird with it 🫢
fr fr, -w only does anything for the roff style. the other formats don't care. iykyk πŸ’€

πŸ‘‘ AUTHORS πŸ‘‘

  • Sandro Sigala <sandro@sigala.it> β€” original version 🌟
  • Jukka A. Ukkonen <jau@iki.fi> β€” roff and tty formats, better handling of #xxx preprocessor directives and some minor changes πŸ’œ

πŸ’Œ the sign-off πŸ’Œ

this lil treasure came from Debian, and this version is dated July 15, 2001. that's the CHILIGHT(1) page, bestie β€” go make your C files look like main character energy πŸ”₯πŸ’…βœ¨