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

Case insensitive language highlighting matching #429

Merged
merged 1 commit into from Apr 6, 2021

Conversation

@x4e
Copy link
Contributor

@x4e x4e commented Jan 24, 2021

This automatically lowercases language names used in code blocks when finding highlighting scripts for them, since highlightJS defines all languages with lowercase names.

This for example allows using C++ as a language name, which previously would not have worked.

  • [Y] I have signed the CLA
This automatically lowercases language names used in code blocks when finding highlighting scripts for them, since highlightJS defines all languages with lowercase names.
thebaer
thebaer approved these changes Apr 6, 2021
Copy link
Member

@thebaer thebaer left a comment

Looks good to me! Thanks for fixing this.

@thebaer thebaer added this to the 0.13 milestone Apr 6, 2021
@thebaer thebaer merged commit 2c1d3a5 into writefreely:develop Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants