Skip to main content

Distributed publication management system

Project description

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:

    $ pip install pygments-doconce

Constructing an egg from repository::

    $ git clone https://github.com/hplgit/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

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

pygments-doconce-1.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

pygments_doconce-1.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pygments-doconce-1.0.1.tar.gz.

File metadata

  • Download URL: pygments-doconce-1.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

File hashes

Hashes for pygments-doconce-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f492c4ff480f1d136318872ce0b3db56c1fb2a5fd3c967c47891bed9dfbdcd63
MD5 84e2b811030863e4a0f7b4996183099a
BLAKE2b-256 0e79ee00469082013875ab4e5291e9e8a839e82fed26bfe5355d1d6f437d9e29

See more details on using hashes here.

Provenance

File details

Details for the file pygments_doconce-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pygments_doconce-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

File hashes

Hashes for pygments_doconce-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60522bea9f35db0e8cd70d171c7925515b96c2593b3b94a0cff2610a5d89ab48
MD5 12708323a8858bb5749bba7299f8c834
BLAKE2b-256 cc289c62ac1d746d5618ef3f9346eecc606cd25d9402cfabe45a2d4d65735768

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page