A syntax highlight generator for textX languages
Project description
Syntax Highlighting Generator for textX Languages
This project uses textX grammar and generates syntax highlighting file for it.
Supported syntax highlighting languages:
- textmate (used by VS Code and textx-gen-vscode project)
CLI Examples
Generate a default syntax highlighting for workflow language:
textX generate --target textmate ./examples/workflow/workflow.tx --name Workflow
Generate a custom syntax highlighting for workflow language:
textX generate --target textmate ./examples/workflow/workflow.tx --name Workflow --syntax_spec ./examples/workflow/workflow.txcl
Other Notes
Some parts of code are used from textX-languageserver project.
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
textx_gen_coloring-0.2.0.tar.gz
(10.5 kB
view details)
Built Distribution
File details
Details for the file textx_gen_coloring-0.2.0.tar.gz
.
File metadata
- Download URL: textx_gen_coloring-0.2.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d58f3c6deac0e2eb0992724c65ab395559a4940d0647301bc916ee96c4042a95
|
|
MD5 |
131be101f2014d825e1b3ac15341436d
|
|
BLAKE2b-256 |
b9d5a41b086e823beff44d4ebc3325d57319774ab3b5c38c637764cd20aaff47
|
File details
Details for the file textx_gen_coloring-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: textx_gen_coloring-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0fd31235438a1c4617da9a411d152045996fb48fcc092ee6572c2efaa84fe02e
|
|
MD5 |
f157fd3cabf5a2d610eedffa262427f5
|
|
BLAKE2b-256 |
ce564e3c99ffceee8cd57fe30a11d8416f9c8052d43f364cf936ab93f8d6bd4d
|