Sublime Forum

Handling HTML5 syntax?


Are there any syntax coloring options for handling syntax coloring for HTML5?

For example, qutation marks are optional and the default highligter gets confused.




There’s an HTML5 Package here. A new language/syntax file is required, rather than just theme-colours. But a theme may require modifying to take full advantage of the HTML5 syntax - unless you can find a theme that already includes some HTML5 specific colours. It’s probably not necessary though, as HTML5 will still use the same scoping as HTML4, etc…

I haven’t installed it so don’t know whether it accounts for the optional quotes, although, personally, I always include the quotes :wink:.

BTW It’s although I am aware that the casing is, supposedly, not significant :wink: