Skip to main content

No project description provided

Project description

Pygments Shell Console

This Pygments plugin adds new lexers for shell console output. The lexers are:

  • ShellConsoleLexer: Based in ShellSessionBaseLexer, extends its behavior to recognize the prompt elements and use DiffLexer and GitLexer for highlighting.
  • GitLexer: Adds support for highlighting git 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)'
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygments_shell_console-0.0.5.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

pygments_shell_console-0.0.5-py2.py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page