No project description provided
Project description
Pygments Shell Console
This Pygments plugin adds new lexers for shellconsole
output.
The lexers are:
-
ShellConsoleLexer
: Based inShellSessionBaseLexer
, extends its behavior to recognize the prompt elements and highlight them.Also, it adds support for highlighting the following commands output:
- Uses
DiffLexer
to highlightdiff
andgit diff
output. GitStatusLexer
: Adds support for highlightinggit status
output.GitShowLexer
: Adds support for highlightinggit show
output.GitLogLexer
: Adds support for highlightinggit log
output.GitPrettyLogLexer
: Adds support for highlightinggit log
output, following the format:log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
- Uses
Examples of the result can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pygments_shell_console-0.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0371cd4c9b6bdde6e5ddb83cb91b46fb73e7d0ac958f8dca3f78149824a7023c |
|
MD5 | b9381712796929b346e03a986a45b782 |
|
BLAKE2b-256 | 7936086978e44090976d31311c762c0f3b9c3ea5e4305690447ea44a827a12d8 |
Close
Hashes for pygments_shell_console-0.7.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5239b109be9b989b2b44607a2b99ad74e7d5424421b20e845c8222e55bcb1119 |
|
MD5 | 87520a5e504ef98feda0690a122fa1c6 |
|
BLAKE2b-256 | 9189f9a7b52eb1d290ae7c3f071dea66c659e2714326ee2ffefedf7a1453c406 |