Skip to content

Instantly share code, notes, and snippets.

@qaid
Created February 11, 2013 21:11
Show Gist options
  • Save qaid/4757651 to your computer and use it in GitHub Desktop.
Save qaid/4757651 to your computer and use it in GitHub Desktop.
Sublime Text 2 snippet for HTML5 structure with fields for description, title, author element, body
<snippet>
<content><![CDATA[<!doctype html>
<html>
<head>
<meta charset=utf-8>
<meta name=description content="$1">
<meta name=viewport content="width=device-width, initial-scale=1">
<title>${2:Untitled}</title>
<link rel=stylesheet href="css/style.css">
<link rel="author" href="$3">
</head>
<body>
$4
<script src="js/main.js"></script>
</body>
</html>]]></content>
<tabTrigger>doctype</tabTrigger>
<description>HTML - HTML foundation</description>
<scope>text.html</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment