Last active
August 6, 2019 09:25
-
-
Save manojmohangit/5ee127cbf061bd187ba4aa026e3ef149 to your computer and use it in GitHub Desktop.
Visual Studio Code Snippet for creating html file with appropriate tags along with jquery setup
This file contains hidden or 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
{ | |
//Type html_setup/html_jquery_setup for the snippet to work | |
"Html Setup Code": { | |
"prefix" : "html_setup", | |
"body": ["<html>", | |
"\t<head>", | |
"\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">", | |
"\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />", | |
"\t\t<title>Page Title</title>", | |
"\t\t<script type=\"text/javascript\">", | |
"\t\t</script>", | |
"\t\t<style type=\"text/css\">", | |
"\t\t</style>", | |
"\t</head>", | |
"\t<body>", | |
"\t</body>", | |
"</html>" | |
], | |
"description": "Create a html snippet with all viewport settings" | |
}, | |
"Jquery Setup Code": { | |
"prefix" : "html_jquery_setup", | |
"body": ["<html>", | |
"\t<head>", | |
"\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">", | |
"\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />", | |
"\t\t<title>Page Title</title>", | |
"\t\t<script src=\"https://code.jquery.com/jquery-1.12.4.min.js\" integrity=\"sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=\" crossorigin=\"anonymous\"></script>", | |
"\t\t<script type=\"text/javascript\">", | |
"\t\t</script>", | |
"\t\t<style type=\"text/css\">", | |
"\t\t</style>", | |
"\t</head>", | |
"\t<body>", | |
"\t</body>", | |
"</html>" | |
], | |
"description": "Create a html snippet with all viewport settings and jquery link" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment