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

Syntax highlighting doesn't fully handle slashy strings / dollar slashy strings #15

Open
mparry opened this issue Feb 16, 2018 · 0 comments

Comments

@mparry
Copy link

mparry commented Feb 16, 2018

There are a couple of problems with syntax highlighting for strings:

  • It doesn't handle interpolations in slashy strings.
  • It doesn't handle dollar slashy strings at all.

So, for example, neither of the following strings will currently highlight properly.

/foo $bar ${baz} boz/
$/foo $bar ${baz} b\o\z/$

And in fact, that Markdown render above has the same issues. As far as I can tell, GH's renderer is also using this TM bundle, via https://github.com/github/linguist/tree/master/vendor/grammars!

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

1 participant