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

Add support for language NATURAL #2292

Closed
wants to merge 1 commit into from

Conversation

MarkusAmshove
Copy link

This PR adds support for the language NATURAL by Software AG.

Sadly, it is a proprietary language, but you can see some example code e.g. here

@MarkusAmshove
Copy link
Author

should be detected as cpp:

      AssertionError: expected 'natural' to be 'cpp'      

      actual expected

      

      naturalcpp

I'm not sure what happened here.

@joshgoebel
Copy link
Member

joshgoebel commented Nov 20, 2019

Sadly, due to a lack of time and maintainers we are generally not accepting new languages into the core library. Feel free to publish your library as a language extension though, and if you'd like to be this languages maintainer we can create even a repository here inside the highlightjs organization (for discoverability), if you would like. It's reasonably easy for someone using highlightJS to load additional languages simply by including a JS tag for them and then using hljs.registerLanguage().

There are no dedicated instructions but you can take a look at an example such as:
https://github.com/highlightjs/highlightjs-robots-txt

Related discussion:
#2149

Feel free to join the discussion.

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

Successfully merging this pull request may close these issues.

None yet

2 participants