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

Ignore certain languages from being parsed by Prism #28

Closed
howlowck opened this issue Aug 4, 2017 · 3 comments
Closed

Ignore certain languages from being parsed by Prism #28

howlowck opened this issue Aug 4, 2017 · 3 comments

Comments

@howlowck
Copy link
Contributor

howlowck commented Aug 4, 2017

There are certain gitbook plugins that uses the three back-ticks to denote the code to be rendered.
See mermaid-full usage
And prism gives a warning like:

Failed to load prism syntax: graph
{ Error: Cannot find module 'prismjs/components/prism-graph.js' ...

It would be nice to have an option to ignore certain "languages" from being parsed by prism.

@robmcguinness
Copy link
Contributor

I think this is reasonable. Little busy right now but maybe I can make updates to the framework early next week this this feature.

@howlowck
Copy link
Contributor Author

I made the changes. Let me know if there is anything else needed to improved the PR. Thanks!

@JoeyBling
Copy link

Hi, how did you solve it?

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

No branches or pull requests

3 participants