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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c97722c5619fc7cc91aa4efd81705c617015d003f4ee9b60ca3fe76562ecd2a |
|
MD5 | ead3fbdc3f0f280b4fd265184b4ecf6a |
|
BLAKE2b-256 | 23156c72de1ab10c5a2feec83389ffd98c0cf3f5ab6da2fdb5bb724ee0484f85 |
Close
Hashes for pygments_shell_console-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f10a19ebd4bc8ccbfc587345b47dcc9d4087384d6efc3d2828b4bec2946f1064 |
|
MD5 | 2372d92ccce0489ffec2aa94c4fe1843 |
|
BLAKE2b-256 | d3b72190d3cf0035c259bc17d7a79c3e97ad60f8ff0fc99be1b981eae858c693 |