Skip to content

stefanholek/pygments-openssl

Repository files navigation

pygments-openssl

Syntax coloring for OpenSSL configuration files

Overview

This package provides a Pygments lexer for OpenSSL configuration files. The lexer is published as an entry point and Pygments will pick it up automatically.

You can use the openssl language with Pygments:

$ pygmentize -l openssl /etc/openssl/openssl.cnf

In Sphinx documents the lexer is selected with the highlight directive:

.. highlight:: openssl

Installation

Use your favorite installer to install pygments-openssl into the same Python environment you have installed Pygments. For example:

$ pip install pygments-openssl

To verify the installation run:

$ pygmentize -L lexer | grep -i openssl
* openssl:
    OpenSSL (filenames *.cnf, *.conf)

About

Pygments lexer for OpenSSL configuration files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages