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

Adding aliases #2017

Merged
merged 1 commit into from Apr 13, 2019
Merged

Adding aliases #2017

merged 1 commit into from Apr 13, 2019

Conversation

RachamimYaakobov
Copy link
Contributor

New aliases: 'hh', 'hxx', 'cxx'

New aliases: 'hh', 'hxx', 'cxx'
@marcoscaceres
Copy link
Contributor

Could you help me understand the rationale for adding these? Are they part of c++ standard or common file extensions?

@RachamimYaakobov
Copy link
Contributor Author

RachamimYaakobov commented Apr 13, 2019

There is a lot of C++ code written in these files,
When I extract from such a file several lines highlight.js does not recognize the language
And you have to tell him explicitly that this is C++, so I just do it through the file extension,
Therefore, highlight.js must know all the extensions.

@marcoscaceres
Copy link
Contributor

Ok, did some additional research and indeed they are commonly used.

@marcoscaceres marcoscaceres merged commit 2b46620 into highlightjs:master Apr 13, 2019
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