2019-12-02 09:44:13 +00:00
|
|
|
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
|
|
|
|
|
2018-12-12 09:02:12 +00:00
|
|
|
snippet option "<option value=..."
|
|
|
|
<option value="$1">${2:$1}</option>$0
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet c "class= ... "
|
|
|
|
class="$1"$0
|
|
|
|
endsnippet
|
2019-01-16 23:08:55 +00:00
|
|
|
|
|
|
|
snippet plc "<img src='https://via.placeholder.it ..."
|
|
|
|
<img class="$1" src="https://via.placeholder.com/$2" alt="">
|
|
|
|
endsnippet
|
2019-04-15 19:24:52 +00:00
|
|
|
|
|
|
|
snippet tag "wrap with tag"
|
|
|
|
<$1$0>
|
|
|
|
${VISUAL}
|
|
|
|
</$1>
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet tagi "wrap with tag inline"
|
|
|
|
<$1$0>${VISUAL}</$1>
|
|
|
|
endsnippet
|