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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66d14c0a75c1a36581486d41a765ec782c29e6cdc9d24ac67285e4a511e8aa81 |
|
MD5 | e6d753c688a1f83191d347cdda99dcdf |
|
BLAKE2b-256 | 5c381e9780c84535098bef1075031466ce260ac271fea9fe248bc46efeabfe70 |
Close
Hashes for pygments_shell_console-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c3ff859ab355f227a867234bd6245629fe25d02532b44d5d571cb13c6c1109c |
|
MD5 | 9fc0463b1def337344724e073d362b2d |
|
BLAKE2b-256 | f2545fbf35f7b5e649820cf5408ca9a7aae50fc1c622dd67d48f4b38717a61ea |