Trying out web-mode

This commit is contained in:
trémeur 2023-02-16 20:20:58 +00:00
parent 9197c8345c
commit 806f73fef7
5 changed files with 20 additions and 11 deletions

8
snippets/web-mode/bbox Normal file
View file

@ -0,0 +1,8 @@
# name: border-box
# key: bbox
# --
*, *::before, *::after {
box-sizing: border-box;
}
$0

View file

@ -0,0 +1,4 @@
# name: fanfiction-link
# key: ficlink
# --
<a href="$1">$2</a>$0&nbsp;<code>$3</code>

14
snippets/web-mode/skel Normal file
View file

@ -0,0 +1,14 @@
# name: html-skeleton
# key: skel
# --
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${1:Title}</title>
</head>
<body>
$0
</body>
</html>

8
snippets/web-mode/sumdet Normal file
View file

@ -0,0 +1,8 @@
# name: summary-details
# key: sumdet
# --
<details>
<summary>$1</summary>
$2
</details>
$0