make html inherit from nxml-mode, move some common snippets there and

set "a" as key for the href  snippet, closes #18
This commit is contained in:
Andrea Crotti 2014-02-02 20:15:33 +00:00
parent 67886e1c78
commit 925036812a
41 changed files with 2 additions and 139 deletions

1
html-mode/.yas-parents Normal file
View File

@ -0,0 +1 @@
nxml-mode

View File

@ -1,6 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <body>...</body>
# --
<body$1>
$0
</body>

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <br />
# --
<br />

View File

@ -1,6 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <code>...</code>
# --
<code>
$0
</code>

View File

@ -1,3 +0,0 @@
#name : <div...>...</div>
# --
<div${1: id="${2:some_id}"}${3: class="${4:some_class}"}>$0</div>

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h1>...</h1>
#group : header
# --
<h1>$1</h1>

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h2>...</h2>
#group : header
# --
<h2>$1</h2>

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h3>...</h3>
#group : header
# --
<h3>$1</h3>

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h4>...</h4>
#group : header
# --
<h4>$1</h4>

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h5>...</h5>
#group : header
# --
<h5>$1</h5>

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h6>...</h6>
#group : header
# --
<h6>$1</h6>

View File

@ -1,6 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <head>...</head>
# --
<head>
$0
</head>

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <hr />
# --
<hr />

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <a href="...">...</a>
# --
<a href="$1">$2</a>

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <img src="..." class="..." alt="..." />
# --
<img src="$1" class="$2" alt="$3" />

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <input ... />
# --
<input type="$1" name="$2" value="$3" />

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <li>...</li>
#group : list
# --
<li>$1</li>

View File

@ -1,7 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ol>...</ol>
#group : list
# --
<ol>
$0
</ol>

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <p>...</p>
# --
<p>$1</p>

View File

@ -1,6 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <pre>...</pre>
# --
<pre>
$0
</pre>

View File

@ -1,6 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <blockquote>...</blockquote>
# --
<blockquote>
$1
</blockquote>

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <span>...</span>
# --
<span>$1</span>

View File

@ -1,6 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <style type="text/css" media="...">...</style>
# --
<style type="text/css" media="${1:screen}">
$0
</style>

View File

@ -1,7 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <table ...>...</table>
#group : table
# --
<table width="$1" cellspacing="$2" cellpadding="$3" border="$4">
$0
</table>

View File

@ -1,5 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <td>...</td>
#group : table
# --
<td$1>$2</td>

View File

@ -1,4 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <title>...</title>
# --
<title>$1</title>

View File

@ -1,7 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <tr>...</tr>
#group : table
# --
<tr>
$0
</tr>

View File

@ -1,7 +0,0 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ul>...</ul>
#group : list
# --
<ul>
$0
</ul>

View File

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