Description
Source code can be syntax-highlighted from the command line using a pure Go tool. It helps developers and documentation authors generate highlighted HTML, terminal output, or formatted code snippets.
It reads code and writes formatted output, so check destination paths when using it in scripts. Highlighting improves presentation but does not validate that the code is correct or safe.