This program, given a source file, produces a document with syntax highlighting. At the moment it can handle: C/C++, C#, Bib, Bison, Caml, Changelog, CSS, Diff, Flex, Fortran, Html, Java, Javascript, Latex, Logtalk, Log files, Lua, Makefile, M4, ML, Pascal, Perl, PHP, PostScript, Prolog, Python, Ruby, Shell, Sql, Tcl, and XML.
This program, given a source file, produces a document with syntax highlighting. At the moment it can handle: C/C++, C#, Bib, Bison, Caml, Changelog, CSS, Diff, Flex, Fortran, Html, Java, Javascript, Latex, Logtalk, Log files, Lua, Makefile, M4, ML, Pascal, Perl, PHP, PostScript, Prolog, Python, Ruby, Shell, Sql, Tcl, and XML.
To install source-highlight, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install source-highlight
To see what files were installed by source-highlight, run:
port contents source-highlight
To later upgrade source-highlight, run:
sudo port selfupdate && sudo port upgrade source-highlight
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.