This folder contains a simple terminal syntax highlighter for Cyanox .cn files.
Features
lethighlighted in bright reddefhighlighted in orangewrite()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_highlightfolder in VS Code. - Install the extension from the local folder by running the
Extensions: Install from VSIX...command. - After installing, reopen a
.cnfile 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.