New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add console lexer #137

clinta opened this Issue Apr 10, 2018 · 1 comment


None yet
2 participants

clinta commented Apr 10, 2018

It looks like the shell session lexers are a bit more difficult than using pygments2chroma, but these lexers are very nice for writing tutorials with example shell commands, especially BashSessionLexer.

Example of the difference:


$ sudo su
# echo "foo"


$ sudo su
# echo "foo"

This comment has been minimized.


alecthomas commented Apr 12, 2018

Sounds good. This should be relatively straightforward, though may require a tiny bit of refactoring. I'd happily accept PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment