Reputation: 3323
Am using Sublime Text 3 and have seen some people loading default HTML content / template just by typing words like html5
or doctype
. Which package do i need to use for getting same control ?
Upvotes: 3
Views: 14363
Reputation: 26609
The html
snippit is included in Sublime Text 3 by default.
From an empty file, set the syntax to HTML (either by saving the empty file with a .html
extension, or by pressing Ctrl+Shift+P
to open the command bar, and searching for "Set Syntax: HTML").
Then type html
into the file, and press tab. Sublime Text should expand the snippet, giving you a basic HTML file with doctype, head, and body tags.
Upvotes: 15
Reputation: 686
Try emmet plugin. It provides this sort of functionality. https://emmet.io/
Upvotes: 0