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

Add Prism.languages.shell to bash file as an alias #1321

Merged
merged 2 commits into from
Mar 1, 2018

Conversation

paladox
Copy link
Contributor

@paladox paladox commented Mar 1, 2018

Fixes #1320

@paladox paladox mentioned this pull request Mar 1, 2018
@@ -70,6 +70,8 @@
'operator': /&&?|\|\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,
'punctuation': /\$?\(\(?|\)\)?|\.\.|[{}[\];]/
};

Prism.languages.shell = Prism.languages.bash;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you move this down at the very bottom, just before })(Prism); please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, thanks, done.

@Golmote
Copy link
Contributor

Golmote commented Mar 1, 2018

Great! Thanks for contributing!

@Golmote Golmote merged commit 67e16a2 into PrismJS:gh-pages Mar 1, 2018
@paladox
Copy link
Contributor Author

paladox commented Mar 1, 2018

@Golmote thank you :).

Im trying to switch from highlight.js to prism in gerrit https://gerrit-review.googlesource.com/c/gerrit/+/163090 :)

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

2 participants