Skip to content

Instantly share code, notes, and snippets.

@andregoncalves
Last active December 29, 2016 16:13
Show Gist options
  • Select an option

  • Save andregoncalves/389ac724be53fb0a723f7fd6d90e89b6 to your computer and use it in GitHub Desktop.

Select an option

Save andregoncalves/389ac724be53fb0a723f7fd6d90e89b6 to your computer and use it in GitHub Desktop.
vscode html user snippets
{
"html boilerplate": {
"prefix": "html",
"body": [
"<doctype html>",
"<head>",
"\t<meta charset=\"utf-8\">",
"\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">",
"\t<meta name=\"author\" content=\"Andre Goncalves\" />",
"\t<meta name=\"viewport\" content=\"width=device-width,minimum-scale=1\">",
"\t<meta name=\"theme-color\" content=\"#FFF\">",
"\t<link rel=\"manifest\" href=\"manifest.json\">",
"\t<title>${title}</title>",
"\t<link rel=\"stylesheet\" href=\"${stylesheet}\">",
"</head>",
"<body>",
"\t$0",
"</body>",
"</html>"
],
"description": "Basic html boilerplate"
},
"script": {
"prefix": "script",
"body": [
"<script src=\"${file}.js\"></script>"
],
"description": "script tag with source"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment