Install code2html by entering the following commands in the terminal:
sudo apt update sudo apt install code2html
Description:
Syntax highlighter
Code2html is a perl script which converts a program source code to syntax highlighted HTML, or any other target for which rules are defined. . It may be used as a simple console program, converting a single source code file to a single output file, it can patch HTML files including special command sequences to insert syntax highlighted snippets of code, or it can be used as a CGI script.
Homepage: https://www.palfrader.org/code/code2html
Version: 0.9.1-4.1
Section: universe/devel