Skip to main content

Pygments lexer and style for the AnyScript language

Project description

Pygments AnyScript plugin

https://img.shields.io/travis/AnyBody/pygments-anyscript.svg https://img.shields.io/pypi/v/pygments_anyscript.svg https://anaconda.org/conda-forge/pygments_anyscript/badges/version.svg https://anaconda.org/conda-forge/pygments_anyscript/badges/downloads.svg

Pygments lexer and style for the AnyScript language. AnyScript is the scripting langugage used for the AnyBody Modeling System; a system for multibody musculoskeletal analysis.

Installation

  • Pip: Run pip install pygments-anyscript

  • Conda: Run conda -c conda-forge pygments_anyscript

  • Source: Download source and execute python setup.py install

Requirements

  • pygments

Usage

The lexer and style can be used with the Pygments api like any other lexer or style.

$ pygmentize -l AnyScript MyAnyScriptFile.any
$ pygmentize -l AnyScript -O style=anyscript MyAnyScriptFile.any
$ pygmentize -l AnyScript -f html -O full,style=anyscript -o  MyAnyScriptFile.html MyAnyScriptFile.any

History

1.1.0 (2017-08-02)

  • Add support for Body Model parameters for AMMR 2.0.

  • Update AnyScriptDoc lexer to ignore syntax error etc. This makes it possible to use the lexer with sphinx even if the code is not sytactically correct.

1.0.0 (2017-08-02)

  • Update documentation and release as 1.0.0

0.2.0 (2017-08-02)

  • Split Lexer for AnyScript documentation into its own AnyScriptDocLexer.

  • Update the AnyScriptStyle to match the look in the AnyBody Modeling System.

0.1.0 (2017-08-01)

  • First release on PyPI.

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_anyscript-1.2.0.tar.gz (13.1 kB view hashes)

Uploaded Source

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