Add HTML hello world snippet
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user