Skip to main content

A pygments lexer and style for mkgmap style files

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.5

Download files

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

Source Distribution

mkgmap-pygments-1.5.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

mkgmap_pygments-1.5-py2-none-any.whl (6.0 kB view details)

Uploaded Python 2

File details

Details for the file mkgmap-pygments-1.5.tar.gz.

File metadata

  • Download URL: mkgmap-pygments-1.5.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mkgmap-pygments-1.5.tar.gz
Algorithm Hash digest
SHA256 d2f1ac3363cf2cfc5838ac65a8f0593107ba9c534111e9b2bc0327f6596e72ef
MD5 536d5fcde46802241321aa999fa80bad
BLAKE2b-256 07c742e93646bc86cdb2d380d4bd1efaa0d115969033dda799dfd2a70ec94118

See more details on using hashes here.

File details

Details for the file mkgmap_pygments-1.5-py2-none-any.whl.

File metadata

File hashes

Hashes for mkgmap_pygments-1.5-py2-none-any.whl
Algorithm Hash digest
SHA256 24e57f62415710d03f5cec71350b9ed089870477f3bed9136d172194ec86b6ec
MD5 a539f1687826c8c5258cf11e7800a5f2
BLAKE2b-256 d42ae2493887ef3c560b1281a51b9377a02fd449e2f6698d4146a276ef34faa5

See more details on using hashes here.

Supported by

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