diff options
Diffstat (limited to 'emacs.d/snippets/text-mode/nxml-mode')
38 files changed, 188 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/nxml-mode/body b/emacs.d/snippets/text-mode/nxml-mode/body new file mode 100644 index 0000000..ddcf0cf --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/body @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <body>...</body>
+# --
+<body$1>
+ $0
+</body>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/br b/emacs.d/snippets/text-mode/nxml-mode/br new file mode 100644 index 0000000..ba35773 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/br @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <br />
+# --
+<br />
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/code b/emacs.d/snippets/text-mode/nxml-mode/code new file mode 100644 index 0000000..b7c43fd --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/code @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <code>...</code>
+# --
+<code>
+ $0
+</code>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/div b/emacs.d/snippets/text-mode/nxml-mode/div new file mode 100644 index 0000000..90fbc2e --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/div @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <div...>...</div> +# -- +<div$1>$0</div>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/doctype b/emacs.d/snippets/text-mode/nxml-mode/doctype new file mode 100644 index 0000000..3fdcf17 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/doctype @@ -0,0 +1,5 @@ +#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">
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/doctype.xhtml1_strict b/emacs.d/snippets/text-mode/nxml-mode/doctype.xhtml1_strict new file mode 100644 index 0000000..eca5860 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/doctype.xhtml1_strict @@ -0,0 +1,5 @@ +#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">
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/doctype.xhtml1_transitional b/emacs.d/snippets/text-mode/nxml-mode/doctype.xhtml1_transitional new file mode 100644 index 0000000..fba232a --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/doctype.xhtml1_transitional @@ -0,0 +1,5 @@ +#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">
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/form b/emacs.d/snippets/text-mode/nxml-mode/form new file mode 100644 index 0000000..252253e --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/form @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name :<form method="..." action="..."></form>
+# --
+<form method="$1" action="$2">
+ $0
+</form>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/h1 b/emacs.d/snippets/text-mode/nxml-mode/h1 new file mode 100644 index 0000000..bc72fd6 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/h1 @@ -0,0 +1,5 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h1>...</h1>
+#group : header
+# --
+<h1>$1</h1>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/h2 b/emacs.d/snippets/text-mode/nxml-mode/h2 new file mode 100644 index 0000000..b790e56 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/h2 @@ -0,0 +1,5 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h2>...</h2>
+#group : header
+# --
+<h2>$1</h2>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/h3 b/emacs.d/snippets/text-mode/nxml-mode/h3 new file mode 100644 index 0000000..7dfd9d7 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/h3 @@ -0,0 +1,5 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h3>...</h3>
+#group : header
+# --
+<h3>$1</h3>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/h4 b/emacs.d/snippets/text-mode/nxml-mode/h4 new file mode 100644 index 0000000..b782998 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/h4 @@ -0,0 +1,5 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h4>...</h4>
+#group : header
+# --
+<h4>$1</h4>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/h5 b/emacs.d/snippets/text-mode/nxml-mode/h5 new file mode 100644 index 0000000..13a51a1 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/h5 @@ -0,0 +1,5 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h5>...</h5>
+#group : header
+# --
+<h5>$1</h5>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/h6 b/emacs.d/snippets/text-mode/nxml-mode/h6 new file mode 100644 index 0000000..b2f0c55 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/h6 @@ -0,0 +1,5 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h6>...</h6>
+#group : header
+# --
+<h6>$1</h6>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/head b/emacs.d/snippets/text-mode/nxml-mode/head new file mode 100644 index 0000000..91347b9 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/head @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <head>...</head>
+# --
+<head>
+ $0
+</head>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/hr b/emacs.d/snippets/text-mode/nxml-mode/hr new file mode 100644 index 0000000..a17e1db --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/hr @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <hr />
+# --
+<hr />
diff --git a/emacs.d/snippets/text-mode/nxml-mode/href b/emacs.d/snippets/text-mode/nxml-mode/href new file mode 100644 index 0000000..0db2fae --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/href @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <a href="...">...</a>
+# --
+<a href="$1">$2</a>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/html b/emacs.d/snippets/text-mode/nxml-mode/html new file mode 100644 index 0000000..85e09f7 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/html @@ -0,0 +1,6 @@ +#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>
diff --git a/emacs.d/snippets/text-mode/nxml-mode/img b/emacs.d/snippets/text-mode/nxml-mode/img new file mode 100644 index 0000000..1f4382b --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/img @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <img src="..." alt="..." />
+# --
+<img src="$1" alt="$2" />
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/input b/emacs.d/snippets/text-mode/nxml-mode/input new file mode 100644 index 0000000..80c3503 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/input @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <input ... />
+# --
+<input type="$1" name="$2" value="$3" />
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/li b/emacs.d/snippets/text-mode/nxml-mode/li new file mode 100644 index 0000000..c952682 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/li @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <li>...</li>
+# --
+<li>$1</li>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/link b/emacs.d/snippets/text-mode/nxml-mode/link new file mode 100644 index 0000000..d93b7a5 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/link @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <link stylesheet="..." />
+# --
+<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/meta b/emacs.d/snippets/text-mode/nxml-mode/meta new file mode 100644 index 0000000..dfee1f2 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/meta @@ -0,0 +1,5 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <meta name="..." content="..." />
+#group : meta
+# --
+<meta name="${1:generator}" content="${2:content}" />
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/name b/emacs.d/snippets/text-mode/nxml-mode/name new file mode 100644 index 0000000..592d0da --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/name @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <a name="..."></a>
+# --
+<a name="$1"></a>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/ol b/emacs.d/snippets/text-mode/nxml-mode/ol new file mode 100644 index 0000000..16cfe8d --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/ol @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <ol>...</ol>
+# --
+<ol>
+ $0
+</ol>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/p b/emacs.d/snippets/text-mode/nxml-mode/p new file mode 100644 index 0000000..6845ba5 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/p @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <p>...</p>
+# --
+<p>$1</p>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/pre b/emacs.d/snippets/text-mode/nxml-mode/pre new file mode 100644 index 0000000..d70b722 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/pre @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <pre>...</pre>
+# --
+<pre>
+ $0
+</pre>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/quote b/emacs.d/snippets/text-mode/nxml-mode/quote new file mode 100644 index 0000000..20fed1e --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/quote @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <blockquote>...</blockquote>
+# --
+<blockquote>
+ $1
+</blockquote>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/span b/emacs.d/snippets/text-mode/nxml-mode/span new file mode 100644 index 0000000..a0bba2a --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/span @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <span>...</span>
+# --
+<span>$1</span>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/style b/emacs.d/snippets/text-mode/nxml-mode/style new file mode 100644 index 0000000..b80be1c --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/style @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <style type="text/css" media="...">...</style>
+# --
+<style type="text/css" media="${1:screen}">
+ $0
+</style>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/table b/emacs.d/snippets/text-mode/nxml-mode/table new file mode 100644 index 0000000..03fd119 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/table @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <table>...</table>
+# --
+<table>
+ $0
+</table>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/tag.1l b/emacs.d/snippets/text-mode/nxml-mode/tag.1l new file mode 100644 index 0000000..8988635 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/tag.1l @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <tag>...</tag> +# -- +<${1:tag}>$2</$1>$0
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/tag.2l b/emacs.d/snippets/text-mode/nxml-mode/tag.2l new file mode 100644 index 0000000..08b4a26 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/tag.2l @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <tag> \n...\n</tag> +# -- +<${1:tag}> + $2 +</$1>$0
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/td b/emacs.d/snippets/text-mode/nxml-mode/td new file mode 100644 index 0000000..f4615a7 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/td @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <td>...</td>
+# --
+<td$1>$2</td>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/th b/emacs.d/snippets/text-mode/nxml-mode/th new file mode 100644 index 0000000..d988b20 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/th @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <th>...</th>
+# --
+<th$1>$2</th>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/title b/emacs.d/snippets/text-mode/nxml-mode/title new file mode 100644 index 0000000..7cd238a --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/title @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <title>...</title>
+# --
+<title>$1</title>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/tr b/emacs.d/snippets/text-mode/nxml-mode/tr new file mode 100644 index 0000000..c72daf2 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/tr @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <tr>...</tr>
+# --
+<tr>
+ $0
+</tr>
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/nxml-mode/ul b/emacs.d/snippets/text-mode/nxml-mode/ul new file mode 100644 index 0000000..dac5a66 --- /dev/null +++ b/emacs.d/snippets/text-mode/nxml-mode/ul @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <ul>...</ul>
+# --
+<ul>
+ $0
+</ul>
\ No newline at end of file |