You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having to write an inline script and the import syntax combined with a Liquid tag has broken highlighting
It seems full imports specifically that are causing an issue for me
import{{'file.js'|asset_url|json}}
Replacing the json filter by wrapping the liquid tag in quotes resolved the issue for me, I just prefer to use json if possible because I expect that it's safer (although now I think about it I'm unsure if it is in this context).
It's probably not a high priority issue regardless but figured I best report it
The text was updated successfully, but these errors were encountered:
Good catch. Will have it fixed for #138 - Some works needs to be done on the injection grammars for embedded regions. This is a good opportunity to refine that.
@davidwarrington65cbb28 will fix this. I definitely need more samples of Liquid being is being infused within embedded languages. This was a really great use case scenario.
I'm having to write an inline script and the import syntax combined with a Liquid tag has broken highlighting
It seems full imports specifically that are causing an issue for me
Replacing the
json
filter by wrapping the liquid tag in quotes resolved the issue for me, I just prefer to usejson
if possible because I expect that it's safer (although now I think about it I'm unsure if it is in this context).It's probably not a high priority issue regardless but figured I best report it
The text was updated successfully, but these errors were encountered: