mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
[folding] regions for html. Fixes #39409
This commit is contained in:
36
extensions/html/snippets/html.snippets.json
Normal file
36
extensions/html/snippets/html.snippets.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"HTML template": {
|
||||
"prefix": "html",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<html>",
|
||||
"<head>",
|
||||
"\t<meta charset=\"utf-8\" />",
|
||||
"\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">",
|
||||
"\t<title>{{Page Title}}</title>",
|
||||
"\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">",
|
||||
"\t<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"{{main.css}}\" />",
|
||||
"\t<script src=\"{{main.js}}\"></script>",
|
||||
"</head>",
|
||||
"<body>",
|
||||
"\t{{}}",
|
||||
"</body>",
|
||||
"</html>"
|
||||
],
|
||||
"description": "Simple HTML5 starting point"
|
||||
},
|
||||
"Region Start": {
|
||||
"prefix": "#region",
|
||||
"body": [
|
||||
"<!-- #region -->"
|
||||
],
|
||||
"description": "Folding Region Start"
|
||||
},
|
||||
"Region End": {
|
||||
"prefix": "#endregion",
|
||||
"body": [
|
||||
"<!-- #endregion -->"
|
||||
],
|
||||
"description": "Folding Region End"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user