mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 10:24:18 +00:00
restructuring classic snippets dir to conform to new parenting specs
This commit is contained in:
1
snippets/nxml-mode/.yas-parents
Normal file
1
snippets/nxml-mode/.yas-parents
Normal file
@@ -0,0 +1 @@
|
||||
text-mode
|
||||
6
snippets/nxml-mode/body
Normal file
6
snippets/nxml-mode/body
Normal 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
4
snippets/nxml-mode/br
Normal file
@@ -0,0 +1,4 @@
|
||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
#name : <br />
|
||||
# --
|
||||
<br />
|
||||
6
snippets/nxml-mode/code
Normal file
6
snippets/nxml-mode/code
Normal 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
4
snippets/nxml-mode/div
Normal file
@@ -0,0 +1,4 @@
|
||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
#name : <div...>...</div>
|
||||
# --
|
||||
<div$1>$0</div>
|
||||
5
snippets/nxml-mode/doctype
Normal file
5
snippets/nxml-mode/doctype
Normal 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">
|
||||
5
snippets/nxml-mode/doctype.xhtml1_strict
Normal file
5
snippets/nxml-mode/doctype.xhtml1_strict
Normal 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">
|
||||
5
snippets/nxml-mode/doctype.xhtml1_transitional
Normal file
5
snippets/nxml-mode/doctype.xhtml1_transitional
Normal 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
6
snippets/nxml-mode/form
Normal 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
5
snippets/nxml-mode/h1
Normal 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
5
snippets/nxml-mode/h2
Normal 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
5
snippets/nxml-mode/h3
Normal 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
5
snippets/nxml-mode/h4
Normal 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
5
snippets/nxml-mode/h5
Normal 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
5
snippets/nxml-mode/h6
Normal 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
6
snippets/nxml-mode/head
Normal 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
4
snippets/nxml-mode/hr
Normal file
@@ -0,0 +1,4 @@
|
||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
#name : <hr />
|
||||
# --
|
||||
<hr />
|
||||
4
snippets/nxml-mode/href
Normal file
4
snippets/nxml-mode/href
Normal 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
6
snippets/nxml-mode/html
Normal 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
4
snippets/nxml-mode/img
Normal 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
4
snippets/nxml-mode/input
Normal 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
4
snippets/nxml-mode/li
Normal 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
4
snippets/nxml-mode/link
Normal 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
5
snippets/nxml-mode/meta
Normal 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
4
snippets/nxml-mode/name
Normal 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
6
snippets/nxml-mode/ol
Normal 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
4
snippets/nxml-mode/p
Normal 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
6
snippets/nxml-mode/pre
Normal 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
6
snippets/nxml-mode/quote
Normal 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
4
snippets/nxml-mode/span
Normal 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
6
snippets/nxml-mode/style
Normal 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
6
snippets/nxml-mode/table
Normal file
@@ -0,0 +1,6 @@
|
||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
#name : <table>...</table>
|
||||
# --
|
||||
<table>
|
||||
$0
|
||||
</table>
|
||||
4
snippets/nxml-mode/tag.1l
Normal file
4
snippets/nxml-mode/tag.1l
Normal file
@@ -0,0 +1,4 @@
|
||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
#name : <tag>...</tag>
|
||||
# --
|
||||
<${1:tag}>$2</$1>$0
|
||||
6
snippets/nxml-mode/tag.2l
Normal file
6
snippets/nxml-mode/tag.2l
Normal 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
4
snippets/nxml-mode/td
Normal 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
4
snippets/nxml-mode/th
Normal 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
4
snippets/nxml-mode/title
Normal 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
6
snippets/nxml-mode/tr
Normal 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
6
snippets/nxml-mode/ul
Normal file
@@ -0,0 +1,6 @@
|
||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
#name : <ul>...</ul>
|
||||
# --
|
||||
<ul>
|
||||
$0
|
||||
</ul>
|
||||
Reference in New Issue
Block a user