42 lines
929 B
Plaintext
42 lines
929 B
Plaintext
snippet html5 "HTML% boilerplate."
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />${2:
|
|
<link rel="stylesheet" href="${3:./assets/css/style.css}">}
|
|
<title>$1</title>
|
|
</head>
|
|
<body>$0 ${4:
|
|
<script src="${5:./assets/js/index.js}"></script>}
|
|
</body>
|
|
</html>
|
|
endsnippet
|
|
|
|
snippet option "<option value=..."
|
|
<option value="$1">${2:$1}</option>$0
|
|
endsnippet
|
|
|
|
snippet c "class= ... "
|
|
class="$1"$0
|
|
endsnippet
|
|
|
|
snippet plc "<img src='https://via.placeholder.it ..."
|
|
<img class="$1" src="https://via.placeholder.com/$2" alt="">
|
|
endsnippet
|
|
|
|
snippet tag "wrap with tag"
|
|
<$1$0>
|
|
${VISUAL}
|
|
</$1>
|
|
endsnippet
|
|
|
|
snippet tagi "wrap with tag inline"
|
|
<$1$0>${VISUAL}</$1>
|
|
endsnippet
|
|
|
|
snippet ftphp "<!-- vim: set filetype=php -->"
|
|
<!-- vim: set filetype=php: -->
|
|
endsnippet
|