init
This commit is contained in:
7
snippets/nxml-mode/body
Normal file
7
snippets/nxml-mode/body
Normal 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
5
snippets/nxml-mode/br
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
# name: <br />
|
||||
# --
|
||||
<br />
|
||||
6
snippets/nxml-mode/doctype
Normal file
6
snippets/nxml-mode/doctype
Normal 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">
|
||||
6
snippets/nxml-mode/doctype_xhtml1_strict
Normal file
6
snippets/nxml-mode/doctype_xhtml1_strict
Normal 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">
|
||||
6
snippets/nxml-mode/doctype_xhtml1_transitional
Normal file
6
snippets/nxml-mode/doctype_xhtml1_transitional
Normal 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
7
snippets/nxml-mode/form
Normal 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
6
snippets/nxml-mode/href
Normal 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
7
snippets/nxml-mode/html
Normal 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
5
snippets/nxml-mode/img
Normal 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
5
snippets/nxml-mode/input
Normal 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
5
snippets/nxml-mode/link
Normal 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
6
snippets/nxml-mode/meta
Normal 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
5
snippets/nxml-mode/name
Normal 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
7
snippets/nxml-mode/quote
Normal 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
7
snippets/nxml-mode/style
Normal 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
6
snippets/nxml-mode/tag
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
# name: <tag>...</tag>
|
||||
# key: t
|
||||
# --
|
||||
<${1:tag}>$2</$1>$0
|
||||
6
snippets/nxml-mode/tag_closing
Normal file
6
snippets/nxml-mode/tag_closing
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
# name: <tag.../>
|
||||
# key: t
|
||||
# --
|
||||
<$1 $2 />$0
|
||||
8
snippets/nxml-mode/tag_newline
Normal file
8
snippets/nxml-mode/tag_newline
Normal 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
|
||||
Reference in New Issue
Block a user