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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 215b8b4c636e7322445e10b54c8b61791270b58f8d7d5da06f02d96017d75005 |
|
MD5 | a39130712ca15f5cb59da4da168adca4 |
|
BLAKE2b-256 | f7e57fa954817a53c47da643d6f6f946cd89568855944851ab6355f923f27173 |
Close
Hashes for pygments_shell_console-0.7.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c06ab5a8fc1c4b8fab67caec2ed873d6f683995c87c4bbdad0f8562b4553949 |
|
MD5 | 7e0914f9c05cc3a8bcd4035f2b96c16f |
|
BLAKE2b-256 | b5283e2a95e45c3c7e1b22751b5277ac649027566391bad5786e1718cc049ff1 |