Sublime-Text-HTML5 shortcut

<snippet> <content><![CDATA[ <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>$1</title> </head> <body> $2 </body> </html> ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>HTML5</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <!-- <scope>source.python</scope> --> </snippet>
Recommended to save it as ''html-HTML5.sublime-snippet''.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.