These tags are considered valid by browsers, and Jade compiles them perfectly fine.
However, the syntax highlighting appears to be a bit off for tag names with dashes in them. As seen here:
It'd be great to add dashes to the regexp for tags. I'm not very familiarized with writing regexps, so it'd be great if you could add this.
If you're too busy or do not consider it worth doing, I would be willing to invest the time in figuring out how to do it. My question would then be, would you accept a PR for supporting dashes as part of tag names?
Please let me know what course of action you'd like to take. :smile:
If you're developing using something like shadow DOM or AngularJS directives, you can create tags that have dashes inside them.
An example:
These tags are considered valid by browsers, and Jade compiles them perfectly fine.
However, the syntax highlighting appears to be a bit off for tag names with dashes in them. As seen here:
It'd be great to add dashes to the regexp for tags. I'm not very familiarized with writing regexps, so it'd be great if you could add this.
If you're too busy or do not consider it worth doing, I would be willing to invest the time in figuring out how to do it. My question would then be, would you accept a PR for supporting dashes as part of tag names?
Please let me know what course of action you'd like to take. :smile: