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
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)