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:
parent
67886e1c78
commit
925036812a
|
@ -0,0 +1 @@
|
|||
nxml-mode
|
|
@ -1,6 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <body>...</body>
|
||||
# --
|
||||
<body$1>
|
||||
$0
|
||||
</body>
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <br />
|
||||
# --
|
||||
<br />
|
|
@ -1,6 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <code>...</code>
|
||||
# --
|
||||
<code>
|
||||
$0
|
||||
</code>
|
|
@ -1,3 +0,0 @@
|
|||
#name : <div...>...</div>
|
||||
# --
|
||||
<div${1: id="${2:some_id}"}${3: class="${4:some_class}"}>$0</div>
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <h1>...</h1>
|
||||
#group : header
|
||||
# --
|
||||
<h1>$1</h1>
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <h2>...</h2>
|
||||
#group : header
|
||||
# --
|
||||
<h2>$1</h2>
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <h3>...</h3>
|
||||
#group : header
|
||||
# --
|
||||
<h3>$1</h3>
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <h4>...</h4>
|
||||
#group : header
|
||||
# --
|
||||
<h4>$1</h4>
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <h5>...</h5>
|
||||
#group : header
|
||||
# --
|
||||
<h5>$1</h5>
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <h6>...</h6>
|
||||
#group : header
|
||||
# --
|
||||
<h6>$1</h6>
|
|
@ -1,6 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <head>...</head>
|
||||
# --
|
||||
<head>
|
||||
$0
|
||||
</head>
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <hr />
|
||||
# --
|
||||
<hr />
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <a href="...">...</a>
|
||||
# --
|
||||
<a href="$1">$2</a>
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <img src="..." class="..." alt="..." />
|
||||
# --
|
||||
<img src="$1" class="$2" alt="$3" />
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <input ... />
|
||||
# --
|
||||
<input type="$1" name="$2" value="$3" />
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <li>...</li>
|
||||
#group : list
|
||||
# --
|
||||
<li>$1</li>
|
|
@ -1,7 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <ol>...</ol>
|
||||
#group : list
|
||||
# --
|
||||
<ol>
|
||||
$0
|
||||
</ol>
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <p>...</p>
|
||||
# --
|
||||
<p>$1</p>
|
|
@ -1,6 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <pre>...</pre>
|
||||
# --
|
||||
<pre>
|
||||
$0
|
||||
</pre>
|
|
@ -1,6 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <blockquote>...</blockquote>
|
||||
# --
|
||||
<blockquote>
|
||||
$1
|
||||
</blockquote>
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <span>...</span>
|
||||
# --
|
||||
<span>$1</span>
|
|
@ -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>
|
|
@ -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>
|
|
@ -1,5 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <td>...</td>
|
||||
#group : table
|
||||
# --
|
||||
<td$1>$2</td>
|
|
@ -1,4 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <title>...</title>
|
||||
# --
|
||||
<title>$1</title>
|
|
@ -1,7 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <tr>...</tr>
|
||||
#group : table
|
||||
# --
|
||||
<tr>
|
||||
$0
|
||||
</tr>
|
|
@ -1,7 +0,0 @@
|
|||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
#name : <ul>...</ul>
|
||||
#group : list
|
||||
# --
|
||||
<ul>
|
||||
$0
|
||||
</ul>
|
|
@ -1,4 +1,5 @@
|
|||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||
#name : <a href="...">...</a>
|
||||
#key: a
|
||||
# --
|
||||
<a href="$1">$2</a>
|
Loading…
Reference in New Issue