You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this library for displaying java and bash code snippets. I followed the documentation to download a custom version of highlight.js to support these file types. However, this library will still only display code snippets from the default file types (js|ts|coffee|html|hbs|md|css|sass|scss|less|emblem|yaml).
It seems the problem lies in snippet-finder.jsfindFiles() method, which has a list of supported default extensions. Adding 'java' and 'sh' to the list of extensions allows the library to display java and bash code.
Is there a way to configure the file types from ember-cli-build.js? Or is there an alternate workaround? Thank you
The text was updated successfully, but these errors were encountered:
I'm trying to use this library for displaying java and bash code snippets. I followed the documentation to download a custom version of highlight.js to support these file types. However, this library will still only display code snippets from the default file types
(js|ts|coffee|html|hbs|md|css|sass|scss|less|emblem|yaml)
.It seems the problem lies in
snippet-finder.js
findFiles()
method, which has a list of supported default extensions. Adding 'java' and 'sh' to the list of extensions allows the library to display java and bash code.Is there a way to configure the file types from ember-cli-build.js? Or is there an alternate workaround? Thank you
The text was updated successfully, but these errors were encountered: