Syntax coloring for OpenSSL configuration files
Project description
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)
Changelog
1.4 - 2019-01-25
Add MANIFEST.in. [stefan]
Release as wheel. [stefan]
1.3 - 2017-02-05
Add a LICENSE file. [stefan]
Add a test suite and fix two minor whitespace lexing issues. [stefan]
1.2 - 2013-11-21
Update documentation. [stefan]
1.1 - 2012-10-12
Detect and color line continuations. [stefan]
1.0 - 2012-10-10
Initial release. [stefan]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pygments_openssl-1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc2a1c722774a3f1f00f13393ed6708f3be4ea847f49fe4f9740c942d817f527 |
|
MD5 | a99289f2187061eeb80c86d8c0ba160b |
|
BLAKE2b-256 | 48f564a9154e9b692adb514b6f181d4a56d2b49ad49a04708d11fdca9627a737 |