Cyanox Syntax Highlighter
This folder contains a simple terminal syntax highlighter for Cyanox .cn files.
Features
let highlighted in bright red
def highlighted in orange
write() highlighted in neon purple
- function names highlighted in yellow
- strings highlighted with cyan text and neon green quotes
- comments highlighted in grey
Usage
VS Code syntax highlighting
- Open the
cyanox_highlight folder in VS Code.
- Install the extension from the local folder by running the
Extensions: Install from VSIX... command.
- After installing, reopen a
.cn file and VS Code will use the Cyanox grammar automatically.
Terminal preview
If you want to preview highlighting without VS Code, run:
python cyanox_highlight/highlight.py Day2.cn
This will print the file content to the terminal with ANSI colors.
| |