A pygments lexer for mkgmap style files
This package installs a new lexer for pygmentize to syntax highlight mkgmap style files. You can then use pygmentize (or the API) with the lexer ‘mkgmap’ to highlight style files.
Installing this package will install pygments if it not already installed:
pip install mkgmap-pygments
Usage
To just display a file to the terminal:
pygmentize -l mkgmap lines
To create a complete html file:
pygmentize -l mkgmap -f html -Ofull=true -o output.html lines
Style
The package also includes a pygments style named mkgmap.
You might prefer it to the default style as it will be used in the mkgmap manual and website.
To create a complete html file using the mkgmap style:
pygmentize -l mkgmap -f html -Ofull=true,style=mkgmap -o output.html lines
Metadata
Release files for mkgmap-pygments 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkgmap-pygments-1.5.tar.gz | 5.3 kB | Without provenance | Details for mkgmap-pygments-1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mkgmap_pygments-1.5-py2-none-any.whl | Python 2 | none | any | Details for mkgmap_pygments-1.5-py2-none-any.whl |
Total release size: 11.3 kB
Release files / mkgmap-pygments-1.5.tar.gz
| Download URL | mkgmap-pygments-1.5.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2f1ac3363cf2cfc5838ac65a8f0593107ba9c534111e9b2bc0327f6596e72ef
|
|
BLAKE2b-256 checksum How to use checksums |
07c742e93646bc86cdb2d380d4bd1efaa0d115969033dda799dfd2a70ec94118
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mkgmap_pygments-1.5-py2-none-any.whl
| Download URL | mkgmap_pygments-1.5-py2-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
24e57f62415710d03f5cec71350b9ed089870477f3bed9136d172194ec86b6ec
|
|
BLAKE2b-256 checksum How to use checksums |
d42ae2493887ef3c560b1281a51b9377a02fd449e2f6698d4146a276ef34faa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mkgmap-pygments 1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.