Skip to content

Instantly share code, notes, and snippets.

@stopsatgreen
Created March 27, 2013 15:04
Show Gist options
  • Save stopsatgreen/5254916 to your computer and use it in GitHub Desktop.
Save stopsatgreen/5254916 to your computer and use it in GitHub Desktop.
A simple snippet for Sublime Text which creates a blank HTML template. Type 'html' + tab to run.
<snippet>
<content><![CDATA[
<!DOCTYPE HTML>
<html>
<head lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>[[TITLE GOES HERE]]</title>
<!-- Styles -->
<link rel="stylesheet" href="all.css">
<link rel="stylesheet" media="[[query]]" href="enhanced.css">
</head>
<body>
<!-- Scripts -->
</body>
</html>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>html</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment