summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/html-mode
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/html-mode')
-rw-r--r--.emacs.d/snippets/html-mode/.yas-parents1
-rw-r--r--.emacs.d/snippets/html-mode/dd5
-rw-r--r--.emacs.d/snippets/html-mode/dl7
-rw-r--r--.emacs.d/snippets/html-mode/doctype4
-rw-r--r--.emacs.d/snippets/html-mode/doctype.html54
-rw-r--r--.emacs.d/snippets/html-mode/doctype.xhtml14
-rw-r--r--.emacs.d/snippets/html-mode/doctype.xhtml1_14
-rw-r--r--.emacs.d/snippets/html-mode/doctype.xhtml1_strict4
-rw-r--r--.emacs.d/snippets/html-mode/doctype.xhtml1_transitional4
-rw-r--r--.emacs.d/snippets/html-mode/dt5
-rw-r--r--.emacs.d/snippets/html-mode/form6
-rw-r--r--.emacs.d/snippets/html-mode/html6
-rw-r--r--.emacs.d/snippets/html-mode/html.xmlns6
-rw-r--r--.emacs.d/snippets/html-mode/link.import4
-rw-r--r--.emacs.d/snippets/html-mode/link.stylesheet4
-rw-r--r--.emacs.d/snippets/html-mode/link.stylesheet-ie6
-rw-r--r--.emacs.d/snippets/html-mode/mailto4
-rw-r--r--.emacs.d/snippets/html-mode/meta5
-rw-r--r--.emacs.d/snippets/html-mode/meta.http-equiv5
-rw-r--r--.emacs.d/snippets/html-mode/script.javascript6
-rw-r--r--.emacs.d/snippets/html-mode/script.javascript-src4
-rw-r--r--.emacs.d/snippets/html-mode/textarea4
-rw-r--r--.emacs.d/snippets/html-mode/th5
23 files changed, 107 insertions, 0 deletions
diff --git a/.emacs.d/snippets/html-mode/.yas-parents b/.emacs.d/snippets/html-mode/.yas-parents
new file mode 100644
index 0000000..74c3dd5
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/.yas-parents
@@ -0,0 +1 @@
nxml-mode
diff --git a/.emacs.d/snippets/html-mode/dd b/.emacs.d/snippets/html-mode/dd
new file mode 100644
index 0000000..8120b13
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/dd
@@ -0,0 +1,5 @@
1#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
2#name : <dd> ... </dd>
3#group : list
4# --
5<dd>$1</dd> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/dl b/.emacs.d/snippets/html-mode/dl
new file mode 100644
index 0000000..be11bb5
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/dl
@@ -0,0 +1,7 @@
1#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
2#name : <dl> ... </dl>
3#group : list
4# --
5<dl>
6 $0
7</dl>
diff --git a/.emacs.d/snippets/html-mode/doctype b/.emacs.d/snippets/html-mode/doctype
new file mode 100644
index 0000000..a60dfb6
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/doctype
@@ -0,0 +1,4 @@
1#name : Doctype HTML 4.01 Strict
2#group : meta
3# --
4<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/doctype.html5 b/.emacs.d/snippets/html-mode/doctype.html5
new file mode 100644
index 0000000..a892472
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/doctype.html5
@@ -0,0 +1,4 @@
1#name : Doctype HTML 5
2#group : meta
3# --
4<!DOCTYPE html>
diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1 b/.emacs.d/snippets/html-mode/doctype.xhtml1
new file mode 100644
index 0000000..5d95e07
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/doctype.xhtml1
@@ -0,0 +1,4 @@
1#name : DocType XHTML 1.0 frameset
2#group : meta
3# --
4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1_1 b/.emacs.d/snippets/html-mode/doctype.xhtml1_1
new file mode 100644
index 0000000..fec46d7
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/doctype.xhtml1_1
@@ -0,0 +1,4 @@
1#name : DocType XHTML 1.1
2#group : meta
3# --
4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1_strict b/.emacs.d/snippets/html-mode/doctype.xhtml1_strict
new file mode 100644
index 0000000..20d95d3
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/doctype.xhtml1_strict
@@ -0,0 +1,4 @@
1#name : DocType XHTML 1.0 Strict
2#group : meta
3# --
4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1_transitional b/.emacs.d/snippets/html-mode/doctype.xhtml1_transitional
new file mode 100644
index 0000000..c5255fc
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/doctype.xhtml1_transitional
@@ -0,0 +1,4 @@
1#name : DocType XHTML 1.0 Transitional
2#group : meta
3# --
4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/dt b/.emacs.d/snippets/html-mode/dt
new file mode 100644
index 0000000..f385cec
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/dt
@@ -0,0 +1,5 @@
1#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
2#name : <dt> ... </dt>
3#group : list
4# --
5<dt>$1</dt> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/form b/.emacs.d/snippets/html-mode/form
new file mode 100644
index 0000000..f1c066d
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/form
@@ -0,0 +1,6 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name :<form method="..." id="..." action="..."></form>
3# --
4<form method="$1" id="$2" action="$3">
5 $0
6</form> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/html b/.emacs.d/snippets/html-mode/html
new file mode 100644
index 0000000..958aa6d
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/html
@@ -0,0 +1,6 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <html>...</html>
3# --
4<html>
5 $0
6</html>
diff --git a/.emacs.d/snippets/html-mode/html.xmlns b/.emacs.d/snippets/html-mode/html.xmlns
new file mode 100644
index 0000000..7dd7ee4
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/html.xmlns
@@ -0,0 +1,6 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <html xmlns="...">...</html>
3# --
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
5 $0
6</html>
diff --git a/.emacs.d/snippets/html-mode/link.import b/.emacs.d/snippets/html-mode/link.import
new file mode 100644
index 0000000..30b8fd3
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/link.import
@@ -0,0 +1,4 @@
1#contributor : Vikrant Rathore <vikrant@vyomtech.com>
2#name : <link rel="import" />
3# --
4<link rel="import" href="${1:url}" />
diff --git a/.emacs.d/snippets/html-mode/link.stylesheet b/.emacs.d/snippets/html-mode/link.stylesheet
new file mode 100644
index 0000000..6c9de74
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/link.stylesheet
@@ -0,0 +1,4 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <link stylesheet="..." />
3# --
4<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/snippets/html-mode/link.stylesheet-ie b/.emacs.d/snippets/html-mode/link.stylesheet-ie
new file mode 100644
index 0000000..4f6a776
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/link.stylesheet-ie
@@ -0,0 +1,6 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <!--[if IE]><link stylesheet="..." /><![endif]-->
3# --
4<!--[if IE]>
5<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
6<![endif]--> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/mailto b/.emacs.d/snippets/html-mode/mailto
new file mode 100644
index 0000000..419f2a5
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/mailto
@@ -0,0 +1,4 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <a href="mailto:...@...">...</a>
3# --
4<a href="mailto:$1@$2">$0</a> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/meta b/.emacs.d/snippets/html-mode/meta
new file mode 100644
index 0000000..30319ef
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/meta
@@ -0,0 +1,5 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#group : meta
3#name : <meta name="..." content="..." />
4# --
5<meta name="${1:generator}" content="${2:content}" /> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/meta.http-equiv b/.emacs.d/snippets/html-mode/meta.http-equiv
new file mode 100644
index 0000000..9913652
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/meta.http-equiv
@@ -0,0 +1,5 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <meta http-equiv="..." content="..." />
3#group : meta
4# --
5<meta http-equiv="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />
diff --git a/.emacs.d/snippets/html-mode/script.javascript b/.emacs.d/snippets/html-mode/script.javascript
new file mode 100644
index 0000000..bf0c3b5
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/script.javascript
@@ -0,0 +1,6 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name :<script type="text/javascript">...</script>
3# --
4<script type="text/javascript">
5 $0
6</script> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/script.javascript-src b/.emacs.d/snippets/html-mode/script.javascript-src
new file mode 100644
index 0000000..b64c4dc
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/script.javascript-src
@@ -0,0 +1,4 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name :<script type="text/javascript" src="..."></script>
3# --
4<script type="text/javascript" src="$1"></script> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/textarea b/.emacs.d/snippets/html-mode/textarea
new file mode 100644
index 0000000..058498f
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/textarea
@@ -0,0 +1,4 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <textarea ...></textarea>
3# --
4<textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea> \ No newline at end of file
diff --git a/.emacs.d/snippets/html-mode/th b/.emacs.d/snippets/html-mode/th
new file mode 100644
index 0000000..3b5fab1
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/th
@@ -0,0 +1,5 @@
1#contributor : Jimmy Wu <frozenthrone88@gmail.com>
2#name : <th>...</th>
3#group : table
4# --
5<th$1>$2</th> \ No newline at end of file