Syntax highlighting for console sessions
Posted on Sat 21 November 2020 • Tagged with snippets, open source • 2 min read
It's a minor annoyance that comes up often in GitHub comments: syntax highlighting for Python console sessions. You want the input code (after the prompt) to be highlighted, but the output (which is generally just text or logs) to remain neutral. Turns out there's a syntax highlighter that does just that.