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
File details
Details for the file pygments_shell_console-0.8.1.tar.gz
.
File metadata
- Download URL: pygments_shell_console-0.8.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac7273133747224712a4b01c32e4809bac095cecf06be9511c14b84d3fcb77d |
|
MD5 | b4aaf7c218690d6a777eb4aa13938d75 |
|
BLAKE2b-256 | 011913245f5f8c0535a1ecb698733f53259babe464299efe7590735f6479092d |
File details
Details for the file pygments_shell_console-0.8.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pygments_shell_console-0.8.1-py2.py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74820928ea61d97d9f8416bfc252e35e35a6c8d3824c19615e75b86d764af082 |
|
MD5 | 88b3009139ee4a413eaea3260932d0c8 |
|
BLAKE2b-256 | a9013c7e45469c54a2f0538198383e47fb993ab3e0ae4e7103f3998dc4f6e06c |