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

Open
clinta opened this Issue Apr 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@clinta

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:

console

$ sudo su
# echo "foo"
foo

bash

$ sudo su
# echo "foo"
foo
@alecthomas

This comment has been minimized.

Owner

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