Use Pygments to add syntax highlighting the code when using `cat`
BBloggsbott opened this issue · comments
Use pygments
to add syntax highlighting. TerminalFormatter
should work fine to print the output.
@mahanthathreyee An error is thrown when pygments cannot find the file type from the exception.
Updated with a new PR #22, tested on my end, let me know if it works