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

[Request] Windows Registry File Highlighting #2482

Closed
ghost opened this issue Apr 5, 2020 · 3 comments
Closed

[Request] Windows Registry File Highlighting #2482

ghost opened this issue Apr 5, 2020 · 3 comments
Labels
enhancement An enhancement or new feature

Comments

@ghost
Copy link

ghost commented Apr 5, 2020

The solution you'd prefer / feature you'd like to see added...
Looking for syntax highlighting for Windows Registry (.reg) files. GeSHi supports this, as a reference.

Additional context...
Add any other context or screenshots relating to the feature request here.

Example of syntax highlighting:

reg example

@ghost ghost added the enhancement An enhancement or new feature label Apr 5, 2020
@ghost ghost changed the title [Request] Windows Registry Highlighting [Request] Windows Registry File Highlighting Apr 5, 2020
@joshgoebel
Copy link
Member

Feel free to add this to the wiki: https://github.com/highlightjs/highlight.js/wiki/Grammar-Requests

From the docs:

Highlight.js doesn't have a fundamental plan for implementing languages, instead the project works by encouraging development of 3rd party language grammars from contributors. We're also happy to host 3rd party language grammars at the highlightjs GitHub organization - no matter how obscure or weird.

This means that there's no point in requesting a new language without providing an implementation for it. If you want to see a particular language included in highlight.js but cannot implement it, the best way to make it happen is to get another developer interested in doing so.

If you want to do the work we'd be happy to see a 3rd party grammar for the Windows Registry. :)

@kuenzign
Copy link

kuenzign commented Jul 1, 2022

@joshgoebel I have written a pretty simple grammar from Windows Registry files and I'd like to make it available for people. You mention that you are happy to host grammars on the highlightjs GitHub organization. How does someone request this to be done? Are there any procedures to follow when adding a new language grammar?

@joshgoebel
Copy link
Member

joshgoebel commented Jul 1, 2022

Go to create a new issue and click the button about requesting 3rd party grammar repository....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature
Projects
None yet
Development

No branches or pull requests

2 participants