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

Allow configuring snippet file extensions #59

Merged
merged 1 commit into from
Jan 14, 2019
Merged

Conversation

shimizust-zz
Copy link

A fix for #58, which doesn't allow use of languages outside of the default set, even after using a custom version of highlight.js. This is due to the snippet finder only searching for file extensions from the default set of languages.

This change defines a new property in the configuration, snippetExtensions, which should correspond to the languages of the custom highlight.js build.

Also updated the README with instructions.

…et, the file extensions corresponding to the default set of languages will be used.

- Updated the README
@ef4 ef4 merged commit 1787ab5 into ef4:master Jan 14, 2019
@ef4
Copy link
Owner

ef4 commented Jan 14, 2019

Thanks! This is released in 2.4.0.

@shimizust-zz
Copy link
Author

Awesome, thank you!

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

3 participants