SFTtech / nyan

Typesafe hierarchical key-value database with inheritance and dynamic patching :smiley_cat:
Other
208 stars 29 forks source link

Syntax highlighting for the web #79

Open simonsan opened 4 years ago

simonsan commented 4 years ago

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.

TheJJ commented 4 years ago

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