HSCOLOUR(1)

Okay bestie, welcome to the HSCOLOUR(1) manual πŸ¦‹ It's filed under User Commands (section 1), and it's all about making your Haskell code look absolutely iconic πŸ’…


✨ NAME ✨

HsColour β€” generate colourised output for Haskell code 🌈

πŸŽ€ SYNOPSIS πŸŽ€

HsColour options [file.hs]

πŸ’– DESCRIPTION πŸ’–

okay so HsColour is literally the program that makes your Haskell code look gorgeous 😭 It currently has six output formats: ANSI terminal codes, HTML 3.2 with <font> tags, HTML 4.01 with CSS, XHTML 1.0 with inline CSS styling, LaTeX, and mIRC chat client codes. Six! πŸ”₯

πŸ¦‹ Flag reference πŸ¦‹

  • -version β€” prints out the version info πŸ”’
  • -help β€” a super rudimentary help message, but it's there for you 🫢
  • -oOUTPUT β€” sends the output into the file you name πŸ“
  • -tty β€” ANSI terminal code colours! This is the default, so you get it without asking 🌈
  • -html β€” HTML 3.2 format with font tags πŸ“
  • -css β€” HTML 4.01 format with CSS styling πŸ’œ
  • -icss β€” XHTML 1.0 format with inline CSS styling ✨
  • -latex β€” LaTeX source code, obviously πŸ“–
  • -mirc β€” output for IRC πŸ’¬
  • -lit β€” when you're outputting HTML (etc), tell HsColour that your input is Literate Haskell 🧚
  • -lit-tex β€” when you're outputting LaTeX, tell HsColour that your input is Literate Haskell 🧚
  • -anchor β€” in HTML mode, add named anchors βš“
  • -partial β€” makes output fragments (ie, it skips the HTML DOCTYPE header, the CSS stylesheet link, or the LaTeX prologue) so you can slot them into a bigger document 🧩
  • -print-css β€” prints the default CSS definitions, in case you lose the .css file πŸ™ˆ
  • -nolit β€” turns -lit mode off 🚫
  • -noanchor β€” turns -anchor mode off 🚫
  • -nopartial β€” turns -partial mode off 🚫

The HsColour homepage is at http://www.cs.york.ac.uk/fp/darcs/hscolour/. 🌸

Copyright Β© 2003-2009 Malcolm Wallace and Bjorn Bringert

This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

The text for this page was constructed from HsColour's main web page by Erik de Castro Lopo <erikd@mega-nerd.com>, for the Debian GNU/Linux system (but may be used by others). Love that for her πŸ’œ


Okay that's the whole tea β˜• This is HsColour, July 2009 edition, and it's giving well-loved vintage energy 🧚 Stay iconic, bestie πŸ’–πŸŽ€