# delphin.highlight
This module provides [Pygments][] [lexers](http://pygments.org/lexers) for the following [DELPH-IN][] formats:
[TDL][] – Type Description Language
[SimpleMRS][] – A popular serialization format for Minimal Recursion Semantics
In addition, a Pygments [style](http://pygments.org/docs/styles/) for MRS is available which helps highlight the interesting information in SimpleMRS.
# Examples
The SimpleMRS style is meant for console output, and works with both dark and light backgrounds:


The TDL lexer is used for [PyDelphin][]’s [Sphinx][]-based documentation:

# Installation and Requirements
This module is a [namespace package][] of [PyDelphin][], but it does not depend on any PyDelphin packages, rather it only depends on Pygments version 2.3.1 or higher. This means it can be used independently of PyDelphin.
This module can be installed via pip:
` console $ pip install delphin.highlight `
[namespace package]: https://docs.python.org/3/reference/import.html#namespace-packages
# Usage
While you can drop in the lexers into Pygments-capable applications like wikis or documentation sites, the console highlighting of SimpleMRS is provided by the [PyDelphin][] package via the delphin convert command.
[DELPH-IN]: http://www.delph-in.net [Pygments]: http://pygments.org [PyDelphin]: https://github.com/delph-in/pydelphin [SimpleMRS]: http://moin.delph-in.net/MrsRfc [Sphinx]: http://www.sphinx-doc.org/ [TDL]: http://moin.delph-in.net/TdlRfc
Metadata
Release files for delphin.highlight 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| delphin.highlight-1.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| delphin.highlight-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / delphin.highlight-1.0.0.tar.gz
| Download URL | delphin.highlight-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d01b44b4ef36854205e6c1f1e61e7658e7dabe70a36975283cbd3882ffc506fc
|
|
BLAKE2b-256 checksum How to use checksums |
5fd003af347d1736554598800776e05da8cf11e32326d5e835575a1ae50c9bd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.8
|
Release files / delphin.highlight-1.0.0-py3-none-any.whl
| Download URL | delphin.highlight-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a85b9bd5980e44df3198a2041a53f8c659f48f742cdb2fab1f5283d5a14459c
|
|
BLAKE2b-256 checksum How to use checksums |
36ec4c633b34e33099e976d76347de8bcca39275d795a9961de8953db5a63cba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.8
|