stefanholek / pygments-openssl

Pygments lexer for OpenSSL configuration files

Home Page:https://pypi.org/project/pygments-openssl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://pypi.org/project/pygments-openssl/

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%