Skip to content

Instantly share code, notes, and snippets.

Last active December 9, 2016 21:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Better HTML Starter Snippet for Atom
".text.html, .text.php":
"prefix": "html"
"body": """
<!DOCTYPE html>
<html lang="en-us" class="no-js">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
var doc = document;
doc.documentElement.className = doc.documentElement.className.replace('no-js'," ");
doc.documentElement.className += ' js ';
<link rel="stylesheet" href="$2">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment