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

Bash syntax doesn't highlight commands in quoted command substitution with $() #1287

Closed
moqmar opened this issue Feb 9, 2018 · 1 comment

Comments

@moqmar
Copy link

moqmar commented Feb 9, 2018

When I have e.g. x="$(echo "y")", everything inside $() should be a completely independent command ("y" should be highlighted as a string).
Prism.js incorrectly highlights "$(echo " and ")" as a string instead, and doesn't highlight commands inside like with x=`echo "y"` (which is working as expected).

@Golmote
Copy link
Contributor

Golmote commented Mar 3, 2018

Thanks for reporting! It should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants