The libt3highlight library provides functions for syntax-highlighting different types of text files.
The libt3highlight library provides functions for syntax-highlighting different types of text files. Its main design goal is an easily restartable syntax highlighting, suitable for use in interactive text editors. To make the syntax highlighting restartable, libt3highlight uses a single integer start-of-line state. However, it does provide several advanced features, such as dynamic end-of-state patterns, which make it possible to highlight complex languages like Perl and Bash with high fidelity.
The libt3highlight library provides functions for syntax-highlighting different types of text files. Its main design goal is an easily restartable syntax highlighting, suitable for use in interactive text editors. To make the syntax highlighting restartable, libt3highlight uses a single integer start-of-line state. However, it does provide several advanced features, such as dynamic end-of-state patterns, which make it possible to highlight complex languages like Perl and Bash with high fidelity.
To install libt3highlight, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install libt3highlight
To see what files were installed by libt3highlight, run:
port contents libt3highlight
To later upgrade libt3highlight, run:
sudo port selfupdate && sudo port upgrade libt3highlight
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.