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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7453df4290d90c0f10cbf8c5d4fba5466c0c6c60cb55f4e83e889ceb7ea6c904 |
|
MD5 | 2e3e01fb5bfc8b8f5d893469066c18b8 |
|
BLAKE2b-256 | 0c4015f570dad59d976f2bca94b5e60a0cd713a87a17376ba8c13fa7e8049ba5 |
Close
Hashes for pygments_shell_console-0.6.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11f40a9beaf24ad65e33eab71b3fba1b0941ac2084ca336ca38f02db831b9d75 |
|
MD5 | 01cac5bafaecdf28d120a4cd5263844b |
|
BLAKE2b-256 | cdaec18061a322f268e13447c62edd7936d2ae390d15432ebecac266d37141b7 |