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
pygments_shell_console-0.4.tar.gz
(10.4 kB
view hashes)
Built Distribution
Close
Hashes for pygments_shell_console-0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5a4fae9a31cc337bdc2709050eb12c186b6abbbc9097d0ce57e6f6f70be2adb |
|
MD5 | 622a705f65bc7219330c5fdc77b9c72b |
|
BLAKE2b-256 | d4b9f81d1303347aa0c146a166058b1c654270c61e5a8e291075e0f10d891212 |
Close
Hashes for pygments_shell_console-0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74bc2592d2a4f9f63d4e674748cb4274e4f75ed8b223c1a1b239851d34b63457 |
|
MD5 | 566f7ccefb82d0546cbca319b0711f24 |
|
BLAKE2b-256 | dfd016b0b6dd86f31e785e7b818ad787bca3a2b6c09c1bee1724632d61741bb3 |