Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

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.

Files for mkgmap-pygments, version 1.5
Filename, size File type Python version Upload date Hashes
Filename, size mkgmap_pygments-1.5-py2-none-any.whl (6.0 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size mkgmap-pygments-1.5.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page