openssl配置文件的语法着色
pygments-openssl的Python项目详细描述
概述
此包为OpenSSL配置文件提供Pygmentslexer。 lexer是作为入口点发布的,pygments将获取它 自动。
您可以对pygments使用openssl语言:
$ pygmentize -l openssl /etc/openssl/openssl.cnf
在Sphinx文档中,使用highlight指令选择lexer:
.. highlight:: openssl
安装
使用您喜欢的安装程序将pygments openssl安装到 python环境您已经安装了pygments。例如:
$ pip install pygments-openssl
要验证安装运行:
$ pygmentize -L lexer | grep -i openssl * openssl: OpenSSL (filenames *.cnf, *.conf)
更改日志
1.4-2019-01-25
- 添加manifest.in。 [斯特凡]
- 作为车轮松开。 [斯特凡]
1.3-2017-02-05
- 添加许可证文件。 [斯特凡]
1.2-2013年11月21日
- 更新文档。 [斯特凡]
1.1-2012年10月12日
- 检测和颜色线延续。 [斯特凡]
1.0-2012年10月10日
- 初次发布。 [斯特凡]