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.6 - 2023-09-14
Update INI lexer tests for Pygments >= 2.14. [stefan]
Update tox.ini for latest tox. [stefan]
Add GitHub CI workflow. [stefan]
1.5 - 2022-02-27
Add Python 3.8-3.10 to tox.ini. Remove old Python versions. [stefan]
Replace deprecated python setup.py test in tox.ini. [stefan]
Remove deprecated test_suite from setup.py. [stefan]
Move lexer into pygments_openssl namespace. [stefan]
Move metadata to setup.cfg and add a pyproject.toml file. [stefan]
Include tests in sdist but not in wheel. [stefan]
Support new .pragma and .include directives. [stefan]
Pygments 2.11 whitespace token modernization. [stefan]
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
File details
Details for the file pygments-openssl-1.6.tar.gz
.
File metadata
- Download URL: pygments-openssl-1.6.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50c06a49a22c4bb2ca2e42120272dd7b6750f2e3ea7f92c4995904d271759b83 |
|
MD5 | c0def21e3248a460560ab44a27756b6d |
|
BLAKE2b-256 | 517ae2ef411145e97151b3e6646a7c0efa4158a596e7acf214a3e77b879c8dc7 |
File details
Details for the file pygments_openssl-1.6-py2.py3-none-any.whl
.
File metadata
- Download URL: pygments_openssl-1.6-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 538b783dfe8711135470eef96d4ebfdc536c67e1e93f872748919b7001af8e43 |
|
MD5 | 9bb462e87f6a16771839fad61c96bbb4 |
|
BLAKE2b-256 | 1afe201259b9af1f85ff94466b5786b88c4d5a8f1760d491f0b4af6a97ffb868 |