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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad0ed7824897426f26a8cd551dfeec0c84fe47c559d777c20f85685b00f53e4 |
|
MD5 | 9308ad0f173110d86ce97c85d6d50aa1 |
|
BLAKE2b-256 | 7af8b82ada7f958920eb341f460e410f1428d13c101663e70a6a4799ec8463e3 |
Close
Hashes for pygments_shell_console-0.8.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c38a3808b36fd90e7999d65aef80d9770a7f7b0502eb11d7e2b0fe33076c0398 |
|
MD5 | ecf92fe3d6c8b4a36e6273119d7af662 |
|
BLAKE2b-256 | 89aaf8bce6be635073bf13f6485b5e35bd740cf57527b7fc6933ce5fc8c9e4be |