Add HTML hello world snippet
This commit is contained in:
parent
e15b921187
commit
58a2717f6e
|
@ -1,4 +1,19 @@
|
|||
snippet << "Tag for html" bA
|
||||
<$1>$2</${1/(\w+).*/$1/}>$0
|
||||
snippet helloworld "A little hello world example." b
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Hello world example</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 align=center>Hello World</h1>
|
||||
</body>
|
||||
</html>
|
||||
endsnippet
|
||||
|
||||
snippet << "Tag for html" bA
|
||||
<${1:p}>$2</${1/(\w+).*/$1/}>$0
|
||||
endsnippet
|
||||
|
||||
snippet >> "Line break / closing tag"
|
||||
</${1:br}>$0
|
||||
endsnippet
|
||||
|
|
Loading…
Reference in New Issue