Giter Site home page Giter Site logo

pygments-doconce's Introduction

pygments-doconce: syntax coloring for DocOnce files

Overview

This package provides a Pygments lexer for 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 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/doconce/pygments-doconce.git
$ cd pygments-doconce
$ python setup.py install

DocOnce is needed for the lexer to work. Refer to DocOnce

To verify the installation of pygments-doconce run:

$ pygmentize -L lexer | grep -i doconce
* doconce:
DocOnce

pygments-doconce's People

Contributors

aless80 avatar hplgit avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.