Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mkgmap-pygments

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkgmap-pygments

A pygments lexer and style for mkgmap style files

  • 1.5
  • PyPI
  • Socket score

Maintainers
1

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.

.. _mkgmap: http://www.mkgmap.org.uk

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc