The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Emmet for ST2: html:5 abbreviation head Re: Emmet for ST2: html:5 abbreviation head


I edited Emmet.sublime-settings snippets as shown here.

So now I can add a document title, stylesheet, and script within the expression as follows:

html:5[title="My Webpage"][style=mystylesheet.css][script=myscript.js]

While adding this functionality, I discovered that I can use “!” instead of “html:5”, so it also works like this:

![title="My Webpage"][style=mystylesheet.css][script=myscript.js]

Hopefully this will be of use to others.