How to Install source-highlight in Ubuntu 18.04



Install source-highlight by entering the following commands in the terminal:

sudo apt update
sudo apt install source-highlight

Description:

convert source code to syntax highlighted document

This program, given a source file, produces a document with syntax highlighting. . It supports syntax highlighting for over 100 file formats, including major programming languages, markup formats, and configuration file formats. For output, the following formats are supported: HTML, XHTML, LaTeX, Texinfo, ANSI color escape sequences, and DocBook.

Homepage: http://www.gnu.org/software/src-highlite/

Version: 3.1.8-1.2

Section: universe/devel