Custom Tag Names Do Not Work
See original GitHub issueThe linked [https://github.com/Microsoft/typescript-styled-plugin#configuration](styled-plugin configuration) says that you can specify custom tag names as follows:
{
"compilerOptions": {
"plugins": [
{
"name": "typescript-styled-plugin",
"tags": [
"styled",
"css",
"sty",
"custom!"
]
}
]
}
}
Unfortunately, the custom tag names do not get syntax highlighting or completion. Interestingly, they do get hints (.e.g “Shorthand property for setting most background properties at the same place in the style sheet.”).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Custom Tag Names Unresolved?
Nope, no imports are needed. My wild guess is that the tag name classes are not found in your project. Could you check...
Read more >Custom Tag Not Found - WordPress.org
Hello,. I'm trying to track down a strange issue across multiple plugins… TL;DR Is there any reason why a new instance of WPCF7_Validation()...
Read more >css - Custom tags... why not? - Stack Overflow
Use custom tags when there are important elements that have more meaning than <div> and there is no existing HTML 4/5 equivalent. This...
Read more >outbound rules for custom tags with data-* attributes not working
As a workaround, you can try changing your custom tag name as "datasrc" and "dataimg" without "-" characters. It should work for you....
Read more >Custom tags - Tag Manager Help - Google Support
If you need to implement a tag that is not yet supported natively by Tag Manager, you can use a custom image, HTML,...
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 FreeTop 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
Top GitHub Comments
+1
+1