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.3.tar.gz
(10.4 kB
view hashes)
Built Distribution
Close
Hashes for pygments_shell_console-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 930d406cfa6cee912e012875bcfc6e92a33e32313411104e785b32c0fc9e1686 |
|
MD5 | 0971625f2ec1cc6dbbde3140202559d9 |
|
BLAKE2b-256 | dc3a007329bbbeaa60f0abae1b93611a2c14596c88e4696a3a1f023ac37afb35 |
Close
Hashes for pygments_shell_console-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43a8c1c8abfda8493d598a68dfe3c8c01d3d4e5e14d7e638e106f7a13b7c827a |
|
MD5 | 86fca8df6b1d1702aec4024952e70921 |
|
BLAKE2b-256 | b8d6c20a098116a4500758108673178848f70d4d37a5a7b80f42264475739724 |