diff options
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/html-mode')
65 files changed, 306 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/.yas-make-groups b/emacs.d/lisp/yasnippet/snippets/html-mode/.yas-make-groups new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/.yas-make-groups diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/.yas-parents b/emacs.d/lisp/yasnippet/snippets/html-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/b.yasnippet b/emacs.d/lisp/yasnippet/snippets/html-mode/b.yasnippet new file mode 100755 index 0000000..818fbfa --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/b.yasnippet @@ -0,0 +1,4 @@ +#contributor : Xah Lee xahlee.org
+#name : <b>...</b>
+# --
+<b>$0</b>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/body b/emacs.d/lisp/yasnippet/snippets/html-mode/body new file mode 100644 index 0000000..3655775 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/body @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <body>...</body> +# -- +<body$1> + $0 +</body>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/br b/emacs.d/lisp/yasnippet/snippets/html-mode/br new file mode 100644 index 0000000..07c2d4a --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/br @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <br /> +# -- +<br />
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/code b/emacs.d/lisp/yasnippet/snippets/html-mode/code new file mode 100644 index 0000000..a5ad908 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/code @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <code>...</code> +# -- +<code> + $0 +</code>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/code.class b/emacs.d/lisp/yasnippet/snippets/html-mode/code.class new file mode 100644 index 0000000..b910eb7 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/code.class @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <code class="...">...</code> +# -- +<code class="$1"> + $0 +</code>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/div b/emacs.d/lisp/yasnippet/snippets/html-mode/div new file mode 100644 index 0000000..1c9c0c8 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/div @@ -0,0 +1,3 @@ +#name : <div...>...</div> +# -- +<div${1: id="${2:some_id}"}${3: class="${4:some_class}"}>$0</div>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/div.class b/emacs.d/lisp/yasnippet/snippets/html-mode/div.class new file mode 100644 index 0000000..11c12d6 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/div.class @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <div class="...">...</div> +# -- +<div class="$1"> + $0 +</div>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/div.id b/emacs.d/lisp/yasnippet/snippets/html-mode/div.id new file mode 100644 index 0000000..cec25fb --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/div.id @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <div id="...">...</div> +# -- +<div id="$1"> + $0 +</div>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/div.id-class b/emacs.d/lisp/yasnippet/snippets/html-mode/div.id-class new file mode 100644 index 0000000..d5b1402 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/div.id-class @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <div id="..." class="...">...</div> +# -- +<div id="$1" class="$2"> + $0 +</div>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/dov b/emacs.d/lisp/yasnippet/snippets/html-mode/dov new file mode 100644 index 0000000..e8341ea --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/dov @@ -0,0 +1,11 @@ +#name : <dov...>...</dov> +# -- +a mirror up here $3 + + +<dov ${1:id="${2:some_id and here comes another nested field: ${3:nested_shit}}"}> + $0 +</dov> +<dov $1> + actually some other shit and $3 +</dov> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/form b/emacs.d/lisp/yasnippet/snippets/html-mode/form new file mode 100644 index 0000000..043a59a --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/form @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name :<form method="..." id="..." action="..."></form> +# -- +<form method="$1" id="$2" action="$3"> + $0 +</form>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/head b/emacs.d/lisp/yasnippet/snippets/html-mode/head new file mode 100644 index 0000000..37ef1ad --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/head @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <head>...</head> +# -- +<head> + $0 +</head>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/header/h1 b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h1 new file mode 100644 index 0000000..df95d5b --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h1 @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h1>...</h1>
+# --
+<h1>$1</h1> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/header/h2 b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h2 new file mode 100644 index 0000000..6d6a101 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h2 @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h2>...</h2>
+# --
+<h2>$1</h2> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/header/h3 b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h3 new file mode 100644 index 0000000..6638192 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h3 @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h3>...</h3>
+# --
+<h3>$1</h3> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/header/h4 b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h4 new file mode 100644 index 0000000..8fe570f --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h4 @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h4>...</h4>
+# --
+<h4>$1</h4> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/header/h5 b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h5 new file mode 100644 index 0000000..283229e --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h5 @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h5>...</h5>
+# --
+<h5>$1</h5> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/header/h6 b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h6 new file mode 100644 index 0000000..31dcbc6 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/header/h6 @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h6>...</h6>
+# --
+<h6>$1</h6> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/hr b/emacs.d/lisp/yasnippet/snippets/html-mode/hr new file mode 100644 index 0000000..20e38b5 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/hr @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <hr /> +# -- +<hr /> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/href b/emacs.d/lisp/yasnippet/snippets/html-mode/href new file mode 100644 index 0000000..0425e6c --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/href @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <a href="...">...</a> +# -- +<a href="$1">$2</a>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/html b/emacs.d/lisp/yasnippet/snippets/html-mode/html new file mode 100644 index 0000000..93a0ad7 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/html @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <html>...</html> +# -- +<html> + $0 +</html> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/html.xmlns b/emacs.d/lisp/yasnippet/snippets/html-mode/html.xmlns new file mode 100644 index 0000000..fd6adc8 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/html.xmlns @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#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/lisp/yasnippet/snippets/html-mode/i.yasnippet b/emacs.d/lisp/yasnippet/snippets/html-mode/i.yasnippet new file mode 100755 index 0000000..46cfde9 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/i.yasnippet @@ -0,0 +1,4 @@ +#contributor : Xah Lee xahlee.org
+#name : <i>...</i>
+# --
+<i>$0</i>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/img b/emacs.d/lisp/yasnippet/snippets/html-mode/img new file mode 100644 index 0000000..674b1dc --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/img @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <img src="..." class="..." alt="..." /> +# -- +<img src="$1" class="$2" alt="$3" />
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/input b/emacs.d/lisp/yasnippet/snippets/html-mode/input new file mode 100644 index 0000000..1ad74f8 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/input @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <input ... /> +# -- +<input type="$1" name="$2" value="$3" />
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/link.stylesheet b/emacs.d/lisp/yasnippet/snippets/html-mode/link.stylesheet new file mode 100644 index 0000000..0953396 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/link.stylesheet @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#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/lisp/yasnippet/snippets/html-mode/link.stylesheet-ie b/emacs.d/lisp/yasnippet/snippets/html-mode/link.stylesheet-ie new file mode 100644 index 0000000..9cf9fec --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/link.stylesheet-ie @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <!--[if IE]><link stylesheet="..." /><![endif]--> +# -- +<!--[if IE]> +<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" /> +<![endif]-->
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/dd b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dd new file mode 100644 index 0000000..e447d4a --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dd @@ -0,0 +1,4 @@ +#contributor : Rodrigo Setti <rodrigosetti@gmail.com> +#name : <dd> ... </dd> +# -- +<dd>$1</dd> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/dl b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dl new file mode 100644 index 0000000..a75c875 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dl @@ -0,0 +1,6 @@ +#contributor : Rodrigo Setti <rodrigosetti@gmail.com> +#name : <dl> ... </dl> +# -- +<dl> + $0 +</dl> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/dl.id b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dl.id new file mode 100644 index 0000000..28a6d37 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dl.id @@ -0,0 +1,6 @@ +#contributor : Rodrigo Setti <rodrigosetti@gmail.com> +#name : <dl> ... </dl> +# -- +<dl id="$1"> + $0 +</dl> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/dt b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dt new file mode 100644 index 0000000..024cce4 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/dt @@ -0,0 +1,4 @@ +#contributor : Rodrigo Setti <rodrigosetti@gmail.com> +#name : <dt> ... </dt> +# -- +<dt>$1</dt> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/li b/emacs.d/lisp/yasnippet/snippets/html-mode/list/li new file mode 100644 index 0000000..e9ad26e --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/li @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <li>...</li>
+# --
+<li>$1</li> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/li.class b/emacs.d/lisp/yasnippet/snippets/html-mode/list/li.class new file mode 100644 index 0000000..313f512 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/li.class @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <li class="...">...</li> +# -- +<li class="$1">$2</li> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol new file mode 100644 index 0000000..b8f20af --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <ol>...</ol>
+# --
+<ol>
+ $0
+</ol> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol.class b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol.class new file mode 100644 index 0000000..fc24485 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol.class @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <ol class="...">...</ol> +# -- +<ol class="$1"> + $0 +</ol> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol.id b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol.id new file mode 100644 index 0000000..1be3e7f --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ol.id @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <ol id="...">...</ol>
+# --
+<ol id="$1">
+ $0
+</ol> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul new file mode 100644 index 0000000..1b77287 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <ul>...</ul>
+# --
+<ul>
+ $0
+</ul> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul.class b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul.class new file mode 100644 index 0000000..bc27649 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul.class @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <ul class="...">...</ul> +# -- +<ul class="$1"> + $0 +</ul> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul.id b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul.id new file mode 100644 index 0000000..9eba0cc --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/list/ul.id @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <ul id="...">...</ul>
+# --
+<ul id="$1">
+ $0
+</ul> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/mailto b/emacs.d/lisp/yasnippet/snippets/html-mode/mailto new file mode 100644 index 0000000..b134f2c --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/mailto @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <a href="mailto:...@...">...</a> +# -- +<a href="mailto:$1@$2">$0</a>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype new file mode 100644 index 0000000..91e1109 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype @@ -0,0 +1,3 @@ +#name : Doctype HTML 4.01 Strict +# -- +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhml1 b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhml1 new file mode 100644 index 0000000..63781f8 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhml1 @@ -0,0 +1,3 @@ +#name : DocType XHTML 1.0 frameset +# -- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_1 b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_1 new file mode 100644 index 0000000..deaca2f --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_1 @@ -0,0 +1,3 @@ +#name : DocType XHTML 1.1 +# -- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_strict b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_strict new file mode 100644 index 0000000..1db1c92 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_strict @@ -0,0 +1,3 @@ +#name : DocType XHTML 1.0 Strict +# -- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_transitional b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_transitional new file mode 100644 index 0000000..e138ac4 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/doctype.xhtml1_transitional @@ -0,0 +1,3 @@ +#name : DocType XHTML 1.0 Transitional +# -- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/meta/meta b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/meta new file mode 100644 index 0000000..cc52d48 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/meta @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <meta name="..." content="..." />
+# --
+<meta name="${1:generator}" content="${2:content}" /> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/meta/meta.http-equiv b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/meta.http-equiv new file mode 100644 index 0000000..c8cd77a --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/meta/meta.http-equiv @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <meta http-equiv="..." content="..." />
+# --
+<meta http-equiv="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" /> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/p b/emacs.d/lisp/yasnippet/snippets/html-mode/p new file mode 100644 index 0000000..579cc76 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/p @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <p>...</p> +# -- +<p>$1</p>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/pre b/emacs.d/lisp/yasnippet/snippets/html-mode/pre new file mode 100644 index 0000000..58e77cf --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/pre @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <pre>...</pre> +# -- +<pre> + $0 +</pre>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/q.yasnippet b/emacs.d/lisp/yasnippet/snippets/html-mode/q.yasnippet new file mode 100755 index 0000000..42e09bd --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/q.yasnippet @@ -0,0 +1,6 @@ +#contributor : Xah Lee xahlee.org +#name : <blockquote>...</blockquote> +# -- +<blockquote> +$0 +</blockquote> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/quote b/emacs.d/lisp/yasnippet/snippets/html-mode/quote new file mode 100644 index 0000000..694185b --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/quote @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <blockquote>...</blockquote> +# -- +<blockquote> + $1 +</blockquote>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/script.javascript b/emacs.d/lisp/yasnippet/snippets/html-mode/script.javascript new file mode 100644 index 0000000..807f0ea --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/script.javascript @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name :<script type="text/javascript">...</script> +# -- +<script type="text/javascript"> + $0 +</script>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/script.javascript-src b/emacs.d/lisp/yasnippet/snippets/html-mode/script.javascript-src new file mode 100644 index 0000000..3e3cc3d --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/script.javascript-src @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name :<script type="text/javascript" src="..."></script> +# -- +<script type="text/javascript" src="$1"></script>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/span b/emacs.d/lisp/yasnippet/snippets/html-mode/span new file mode 100644 index 0000000..3dfdf2f --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/span @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <span>...</span> +# -- +<span>$1</span>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/span.class b/emacs.d/lisp/yasnippet/snippets/html-mode/span.class new file mode 100644 index 0000000..2d5ee55 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/span.class @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <span class="...">...</span> +# -- +<span class="$1">$2</span>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/span.id b/emacs.d/lisp/yasnippet/snippets/html-mode/span.id new file mode 100644 index 0000000..dbce842 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/span.id @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <span id="...">...</span> +# -- +<span id="$1">$2</span>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/style b/emacs.d/lisp/yasnippet/snippets/html-mode/style new file mode 100644 index 0000000..83285a2 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/style @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#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/lisp/yasnippet/snippets/html-mode/table/table b/emacs.d/lisp/yasnippet/snippets/html-mode/table/table new file mode 100644 index 0000000..ec972aa --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/table/table @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <table ...>...</table>
+# --
+<table width="$1" cellspacing="$2" cellpadding="$3" border="$4">
+ $0
+</table> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/table/td b/emacs.d/lisp/yasnippet/snippets/html-mode/table/td new file mode 100644 index 0000000..87c18e3 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/table/td @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <td>...</td>
+# --
+<td$1>$2</td> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/table/th b/emacs.d/lisp/yasnippet/snippets/html-mode/table/th new file mode 100644 index 0000000..bce440b --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/table/th @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <th>...</th>
+# --
+<th$1>$2</th> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/table/tr b/emacs.d/lisp/yasnippet/snippets/html-mode/table/tr new file mode 100644 index 0000000..e920c4f --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/table/tr @@ -0,0 +1,6 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <tr>...</tr>
+# --
+<tr>
+ $0
+</tr> diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/textarea b/emacs.d/lisp/yasnippet/snippets/html-mode/textarea new file mode 100644 index 0000000..9553d7a --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/textarea @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <textarea ...></textarea> +# -- +<textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/html-mode/title b/emacs.d/lisp/yasnippet/snippets/html-mode/title new file mode 100644 index 0000000..01e368b --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/html-mode/title @@ -0,0 +1,4 @@ +#contributor : Jimmy Wu <frozenthrone88@gmail.com> +#name : <title>...</title> +# -- +<title>$1</title>
\ No newline at end of file |