restructuring classic snippets dir to conform to new parenting specs

This commit is contained in:
capitaomorte
2009-12-25 14:05:23 +00:00
parent eebdf516b2
commit 4426d044f6
418 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1 @@
text-mode

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

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

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

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

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <code>...</code>
# --
<code>
$0
</code>

4
snippets/nxml-mode/div Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <div...>...</div>
# --
<div$1>$0</div>

View File

@@ -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">

View File

@@ -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">

View File

@@ -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">

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name :<form method="..." action="..."></form>
# --
<form method="$1" action="$2">
$0
</form>

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

@@ -0,0 +1,5 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h1>...</h1>
#group : header
# --
<h1>$1</h1>

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

@@ -0,0 +1,5 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h2>...</h2>
#group : header
# --
<h2>$1</h2>

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

@@ -0,0 +1,5 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h3>...</h3>
#group : header
# --
<h3>$1</h3>

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

@@ -0,0 +1,5 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h4>...</h4>
#group : header
# --
<h4>$1</h4>

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

@@ -0,0 +1,5 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h5>...</h5>
#group : header
# --
<h5>$1</h5>

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

@@ -0,0 +1,5 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h6>...</h6>
#group : header
# --
<h6>$1</h6>

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <head>...</head>
# --
<head>
$0
</head>

4
snippets/nxml-mode/hr Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <hr />
# --
<hr />

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

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

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

@@ -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>

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

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

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

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

4
snippets/nxml-mode/li Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <li>...</li>
# --
<li>$1</li>

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

@@ -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}" />

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

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

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

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

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <ol>...</ol>
# --
<ol>
$0
</ol>

4
snippets/nxml-mode/p Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <p>...</p>
# --
<p>$1</p>

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <pre>...</pre>
# --
<pre>
$0
</pre>

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

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

4
snippets/nxml-mode/span Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <span>...</span>
# --
<span>$1</span>

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

@@ -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>

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <table>...</table>
# --
<table>
$0
</table>

View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <tag>...</tag>
# --
<${1:tag}>$2</$1>$0

View File

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <tag> \n...\n</tag>
# --
<${1:tag}>
$2
</$1>$0

4
snippets/nxml-mode/td Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <td>...</td>
# --
<td$1>$2</td>

4
snippets/nxml-mode/th Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <th>...</th>
# --
<th$1>$2</th>

4
snippets/nxml-mode/title Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <title>...</title>
# --
<title>$1</title>

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <tr>...</tr>
# --
<tr>
$0
</tr>

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

@@ -0,0 +1,6 @@
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <ul>...</ul>
# --
<ul>
$0
</ul>