Syntax Highlighting Nushell (.nu) files
Proposal
It would be nice to have Nushell (.nu) files syntax highlighted.
Links
Implementation plan
- Add lexer to Rouge.
- Uses regex to tokenize the input.
- Add lexer to Highlight.js
- Uses regex to tokenize the input.
- Add lexer to Monaco
- Uses regex to tokenize the input.
- Bump version of
rouge
. The version is defined inGemfile.lock
. - Bump version of
highlight.js
. The version is defined inyarn.lock
. - Bump version of
monaco
. The version is defined inyarn.lock
.
Verification
Verify that syntax highlighting works correctly in:
- repository view and diffs
- snippets
- markdown rendering
Edited by Oscar Tovar