Last active
December 9, 2016 21:40
-
-
Save aholachek/3b3c80b4e3726880f8f86dfd7173d626 to your computer and use it in GitHub Desktop.
Better HTML Starter Snippet for Atom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
".text.html, .text.php": | |
"template": | |
"prefix": "html" | |
"body": """ | |
<!DOCTYPE html> | |
<html lang="en-us" class="no-js"> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
<meta charset="utf-8"> | |
<title> | |
$1 | |
</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<script> | |
var doc = document; | |
doc.documentElement.className = doc.documentElement.className.replace('no-js'," "); | |
doc.documentElement.className += ' js '; | |
</script> | |
<link rel="stylesheet" href="$2"> | |
</head> | |
<body> | |
$3 | |
</body> | |
</html> | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment