Skip to content

Case insensitive language highlighting matching#429

Merged
thebaer merged 1 commit into
writefreely:developfrom
x4e:develop
Apr 6, 2021
Merged

Case insensitive language highlighting matching#429
thebaer merged 1 commit into
writefreely:developfrom
x4e:develop

Conversation

@x4e
Copy link
Copy Markdown
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.
Copy link
Copy Markdown
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Development

Successfully merging this pull request may close these issues.

2 participants