Skip to content

Commit 41698af

Browse files
committed
add: basic html snippet
1 parent d459c67 commit 41698af

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

snippets/html/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ Prefix `h*`
44

55
## Structure
66

7+
### [hb] html basic
8+
9+
```html
10+
<!DOCTYPE html>
11+
<html>
12+
<head>
13+
<meta charset="utf-8">
14+
<title>${1:Document}</title>
15+
</head>
16+
<body>
17+
$2
18+
</body>
19+
</html>
20+
```
21+
722
### [hdoc] html document
823

924
```html
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<!DOCTYPE html>
4+
<html>
5+
<head>
6+
<meta charset="utf-8">
7+
<title>${1:Document}</title>
8+
</head>
9+
<body>
10+
$2
11+
</body>
12+
</html>
13+
]]></content>
14+
<tabTrigger>hb</tabTrigger>
15+
<description>h - Basic HTML document</description>
16+
</snippet>

snippets/html/html-document.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
</html>
2020
]]></content>
2121
<tabTrigger>hdoc</tabTrigger>
22-
<description>h - Basic HTML document</description>
22+
<description>h - HTML document</description>
2323
</snippet>

0 commit comments

Comments
 (0)