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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff9dc0c7a85f381814fc007f0ebb17694b5f6f546694d970ce7da5f8156cf20b |
|
MD5 | d8a06ec1f93bfcb1e089c23f1041c140 |
|
BLAKE2b-256 | 90cae9881db29287cbb9d7c9f9d6e25d15803fd1e2dd078f651edcdd01a76a23 |
Close
Hashes for pygments_shell_console-0.7.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6f997569e3de9eb5f45e4450604f7214359d183e4e0f9b3453c34061d0ecffb |
|
MD5 | 79a12f15354db7eb0a7b0f15af92c052 |
|
BLAKE2b-256 | 7a2f42116aa47469dc129d4cec45bb6fe58f2b9db5b85deb7116eb2668c7b866 |