pygments-doconce: syntax coloring for DocOnce files
Overview
This package provides a Pygments <http://pygments.org/>_ lexer for
DocOnce <http://doconce.github.io/doconce>_ files.
The lexer is published as an entry point and, once installed, Pygments will
pick it up automatically.
You can then use the doconce language with Pygments::
$ pygmentize -l doconce test.do.txt
In Sphinx <http://sphinx-doc.org/>_ documents the lexer is selected with
the highlight directive::
.. highlight:: doconce
Thanks to pygments-openssl project for providing a template <https://github.com/stefanholek/pygments-openssl>_
Installation
Use your favorite installer to install pygments-doconce into the same
Python you have installed Pygments.
Installing pygments-doconce distributed on PyPi <https://pypi.org/project/pygments-doconce/>:
$ pip install pygments-doconce
Constructing an egg from repository::
$ git clone https://github.com/doconce/pygments-doconce.git
$ cd pygments-doconce
$ python setup.py install
DocOnce is needed for the lexer to work. Refer to DocOnce <http://doconce.github.io/doconce>
To verify the installation of pygments-doconce run::
$ pygmentize -L lexer | grep -i doconce
* doconce:
DocOnce
Metadata
Release files for pygments-doconce 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygments-doconce-1.0.2.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygments_doconce-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / pygments-doconce-1.0.2.tar.gz
| Download URL | pygments-doconce-1.0.2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1509fb71dcfd3d438ea8aff0898178825708c90d957f56fbebbb464ad93842b
|
|
BLAKE2b-256 checksum How to use checksums |
f70eff27f1bb2d24b317d999caaae8d70fbf2c3f1e7471ad08813e2cd6692937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9
|
Release files / pygments_doconce-1.0.2-py3-none-any.whl
| Download URL | pygments_doconce-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09dfbbced1a1814d8603421c285cf85aec18190f975826beb1ae69192fa0aa2a
|
|
BLAKE2b-256 checksum How to use checksums |
2b93b85eba4e1b9dd2d3b9d70ef7f6085b28f76c003b53c558ecf89e29550b7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9
|