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

Syntax highlighting for the web #79

Open
simonsan opened this issue Mar 11, 2020 · 1 comment
Open

Syntax highlighting for the web #79

simonsan opened this issue Mar 11, 2020 · 1 comment
Labels
documentation involves primarily the code docs nice new thing ☺ adds new functionality

Comments

@simonsan
Copy link
Contributor

simonsan commented Mar 11, 2020

For the forum and other platforms it would be nice to add nyan lang to highlight.js (Syntax highlighting for the Web) so nyan files are easier to read for example.

The project can be found on github as well:
https://github.com/highlightjs/highlight.js

Here is an example for lua.

@simonsan simonsan added nice new thing ☺ adds new functionality documentation involves primarily the code docs labels Mar 11, 2020
@TheJJ
Copy link
Member

TheJJ commented Mar 11, 2020

We have a highlighter for VS Code here, maybe that helps writing the highlight.js highlighter:

And there's a Kate highlighter: https://github.com/SFTtech/nyan/tree/master/extra/syntax_highlighting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation involves primarily the code docs nice new thing ☺ adds new functionality
Projects
None yet
Development

No branches or pull requests

2 participants