Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create custom syntax highlighting rules for kbdx #1

Open
srithon opened this issue Jun 28, 2021 · 1 comment
Open

Create custom syntax highlighting rules for kbdx #1

srithon opened this issue Jun 28, 2021 · 1 comment

Comments

@srithon
Copy link
Owner

srithon commented Jun 28, 2021

Currently, the TOML syntax highlighting on GitHub is flagging all of the unquoted rvalues red, as they would not be valid TOML syntax.

Screenshot_20210628_080110

This is valid syntax in kbdx, so we need to add custom rules to make sure our documents get highlighted properly.
Another issue that could come about is tap macro syntactic sugar being interpreted as comments, since they are prefixed with a hash symbol.
This is currently being masked by the red highlighting from the first issue, but after that is fixed it will likely become a problem.
Custom highlighting rules would fix both of these

@srithon srithon added the help wanted Extra attention is needed label Jun 28, 2021
@srithon
Copy link
Owner Author

srithon commented Jun 1, 2024

Update: I changed the base language we use from toml to ini, which renders a lot better on GitHub. It would still be cool to have a custom syntax highlighter for this, but it's less urgent now.

@srithon srithon removed the help wanted Extra attention is needed label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant