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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6322fc17693774e0be30225d892e894c069e0f8dbc72b0537ed613f03c07b0 |
|
MD5 | 9a70ff3a0b5e09fcbf82821eb47419a8 |
|
BLAKE2b-256 | 21d0e65b893f65395547f506839ab5f0e6e2ce14bb2045bd95cc10fe7163b870 |
Close
Hashes for pygments_shell_console-0.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f960fc3cb341e4de0f57e1cc636e20d24107f64d8756887ea421410b1d3f4e2d |
|
MD5 | ca1aed07da4319644cf38ea6b9a8bf8f |
|
BLAKE2b-256 | ecb2667f89c5d9a77a65f9e870e85fb3c22382831cb2c083f59e6119ca9211d5 |