A PromQL lexer for Pygments
Project description
pygments-promql
A PromQL lexer for Pygments.
Installation
Using pip
Run:
pip install pygments-promql
From source code
If you wan to test, play or contribute to this repo:
python setup.py install
Usage
Showing colorized output in a terminal:
pygmentize tests/example.promql
Or to generate a PNG file:
pygmentize -f png -O "line_numbers=False" -o tests/example.png tests/example.promql
Testing
pip install -r requirements.txt
pytest tests/ -v
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
pygments-promql-0.0.1.tar.gz
(2.5 kB
view hashes)
Built Distributions
Close
Hashes for pygments_promql-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d07be354212b2c4ba28ba41b442cc15de012446b3963c4589a0c9bc0323b6b1 |
|
MD5 | 0a78c5ac2e1212fe5c767307926f5457 |
|
BLAKE2b-256 | 00373f67e6487599cdaaa020e99e8a857616392f8162b79e5710830e212e5af8 |