Install hscolour by entering the following commands in the terminal:
sudo apt update sudo apt install hscolour
Description:
Haskell program to colourise Haskell code
HsColour currently has five output formats: ANSI terminal codes, HTML 3.2 with tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client codes.
Homepage: http://code.haskell.org/~malcolm/hscolour/
Version: 1.24.2-1
Section: universe/devel