Skip to content

Instantly share code, notes, and snippets.

@mclaughj
Created May 21, 2013 02:04
Show Gist options
  • Save mclaughj/5617071 to your computer and use it in GitHub Desktop.
Save mclaughj/5617071 to your computer and use it in GitHub Desktop.
HTML5 Sublime Text 2 Snippet (Tools > New Snippet…) Activate in any file by typing `html5` and tabbing.
<snippet>
<content><![CDATA[
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>${1:Your awesome title here...}</title>
<link rel="stylesheet" href="css/style.css">
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body id="home">
${2:Your awesome content here...}
</body>
</html>
]]></content>
<tabTrigger>html5</tabTrigger>
</snippet>
@MikeGrace
Copy link

Very nice! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment