This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

7
snippets/nxml-mode/body Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <body>...</body>
# --
<body$1>
$0
</body>

5
snippets/nxml-mode/br Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <br />
# --
<br />

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: DocType XHTML 1.1
# group : meta
# --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: DocType XHTML 1.0 Strict
# group : meta
# --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: DocType XHTML 1.0 Transitional
# group : meta
# --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

7
snippets/nxml-mode/form Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: form
# name: form
# --
<form method="$1" action="$2">
$0
</form>

6
snippets/nxml-mode/href Normal file
View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <a href="...">...</a>
# key: a
# --
<a href="$1">$2</a>

7
snippets/nxml-mode/html Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <html xmlns="...">...</html>
# --
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
$0
</html>

5
snippets/nxml-mode/img Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <img src="..." alt="..." />
# --
<img src="$1" alt="$2" />

5
snippets/nxml-mode/input Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <input ... />
# --
<input type="$1" name="$2" value="$3" />

5
snippets/nxml-mode/link Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <link stylesheet="..." />
# --
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />

6
snippets/nxml-mode/meta Normal file
View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <meta name="..." content="..." />
# group : meta
# --
<meta name="${1:generator}" content="${2:content}" />

5
snippets/nxml-mode/name Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <a name="..."></a>
# --
<a name="$1"></a>

7
snippets/nxml-mode/quote Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <blockquote>...</blockquote>
# --
<blockquote>
$1
</blockquote>

7
snippets/nxml-mode/style Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <style type="text/css" media="...">...</style>
# --
<style type="text/css" media="${1:screen}">
$0
</style>

6
snippets/nxml-mode/tag Normal file
View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <tag>...</tag>
# key: t
# --
<${1:tag}>$2</$1>$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <tag.../>
# key: t
# --
<$1 $2 />$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor : Anders Bach Nielsen <abachn@abachn.net>
# name: <tag> \n...\n</tag>
# key: tn
# --
<${1:tag}>
$2
</$1>$0