Add HTML hello world snippet

This commit is contained in:
Yannick Reiß 2024-09-15 19:45:14 +02:00
parent e15b921187
commit 58a2717f6e
1 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,19 @@
snippet << "Tag for html" bA snippet helloworld "A little hello world example." b
<$1>$2</${1/(\w+).*/$1/}>$0 <!DOCTYPE html>
<html>
<head>
<title>Hello world example</title>
</head>
<body>
<h1 align=center>Hello World</h1>
</body>
</html>
endsnippet endsnippet
snippet << "Tag for html" bA
<${1:p}>$2</${1/(\w+).*/$1/}>$0
endsnippet
snippet >> "Line break / closing tag"
</${1:br}>$0
endsnippet