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.2.tar.gz
.
File metadata
- Download URL: pygments_shell_console-0.8.2.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 | 124d3c292005d285120494cbaf63de577cffab1da0904b581cc84b6e463a11d6 |
|
MD5 | c96391bd2afd536e084a8c991c849e60 |
|
BLAKE2b-256 | 14a5a1da7551c0ce3cfa0b764d9a71e883fc8931c90c645ca7bad12d98978c37 |
File details
Details for the file pygments_shell_console-0.8.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pygments_shell_console-0.8.2-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 | 0b6b3620bc8bfcea73cbc4c5ee616d7fd2d4f430b0fac8093928d8a22a513ac4 |
|
MD5 | fd14999ec16dc52d5bd804f3e3bdc39b |
|
BLAKE2b-256 | eb7ac97dc7a958e589d42c00c2970818f918707435b5cdcd64f6bcd39c9cce40 |