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

[Question] Adding more Prism syntaxes #34

Closed
OwenMelbz opened this issue Sep 20, 2018 · 2 comments
Closed

[Question] Adding more Prism syntaxes #34

OwenMelbz opened this issue Sep 20, 2018 · 2 comments

Comments

@OwenMelbz
Copy link

Adding extra Prism syntax highlighting?

Hi - I've seen that currently you only support a handful of syntax highlighting e.g. php, html, js, etc.

However, we're looking to have some of the more commonly used Laravel syntaxes e.g

dotenv, sql etc

How can we go about adding extra syntaxes?

Thanks

@tankerkiller125
Copy link
Contributor

tankerkiller125 commented Sep 22, 2018

So far it seems that the best way is by downloading your own prism.js file and replacing the one that the package comes with. I'm currently looking into doing a Prism Autoload setup but it unfortunately can't use a CDN like I want it to.

Edit: I've sent #39 as a possible solution, if its merged this issue should be fixed.

@saleem-hadad
Copy link
Owner

Thank you guys for making this package perfect 👌
The PR merged now, next release will be tonight 🎊

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