How to embed text.html.basic into javascript template tags?
See original GitHub issueI am using this configuration:
{
"defaults": {
"comma_operator": false,
"custom_tagged_literals": false,
"es_decorators": true,
"flow_types": false,
"jsx": false,
},
"configurations": {
"Default": {},
"React": {
"custom_template_tags": {
"style": "scope:text.html.basic"
},
}
},
"auto_build": true,
"jsx_close_tag": true
}
But the file still not highlighting html:
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
The Content Template element - HTML - MDN Web Docs
First we start with the HTML portion of the example. ... First, we have a table into which we will later insert content...
Read more >HTML embed Tag - W3Schools
The <embed> tag defines a container for an external resource, such as a web page, a picture, a media player, or a plug-in...
Read more >How To Add JavaScript to HTML | DigitalOcean
You can add JavaScript code in an HTML document by employing the dedicated HTML tag <script> that wraps around JavaScript code.
Read more >Embedding JavaScript in HTML - w3resource
An html document is made up of html elements, html element attributes, comments, special characters and doctype.
Read more >How to syntax-highlight HTML inside JavaScript strings in ...
Open an issue in sublimehq's Packages repo on Github and make a request using the [JavaScript] tag. In the latest version of JavaScript.sublime- ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think a better solution will be to allow users to do things like this VS Code plugin - https://marketplace.visualstudio.com/items?itemName=bierner.comment-tagged-templates
Thanks. Created as #49