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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f960149fd5672f8a6485ca424ca5870399a247fc0e95cd3d8edf785f722a3e |
|
MD5 | 6530103f32ad935956dd58c32c0635da |
|
BLAKE2b-256 | b2fa39e9a571d1272638e5ee8f31ae2418dc0e1c6e453dae3edf4bec2b1b0e26 |
Close
Hashes for pygments_shell_console-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79b0810829309008a8c7da3f881e3d91edd1262a2522e336d2c6200a7aa98f93 |
|
MD5 | 67d2239e18256c2017cd61dd02ae8cae |
|
BLAKE2b-256 | 4b7d096df03554c2c544d6332204489a036c358323a089f48a6d11df05096269 |