-
Notifications
You must be signed in to change notification settings - Fork 22
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
Allow use of comment instead of tag #27
Comments
For VS Code this exact syntax is available and doesn't require any additional imports: https://marketplace.visualstudio.com/items?itemName=Tobermory.es6-string-html This may also be applicable to #4 as well. |
This would solve mjbvz/vscode-lit-html#14. Any tips for the implementation? It would be good if we could expose the regex as a configuration. |
but i want to understand why a comment be desirable over of using a dummy-noop using a noop has the advantages of (a) already working, and (b) making for a good point of refactorability, ie, validation or santization what motivates you to prefer a comment for this purpose? |
Just wanted to throw a +1 on this — I've been using that |
Sometimes using a tag to trigger the benefits of this plugin on a template string isn't feasible, and it would be nice to be able to substitute a comment instead. For example, instead of doing this:
...it would be nice to be able to do this:
The text was updated successfully, but these errors were encountered: