summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/html-mode/table
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/html-mode/table')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/html-mode/table/table6
-rw-r--r--emacs.d/lisp/yasnippet/snippets/html-mode/table/td4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/html-mode/table/th4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/html-mode/table/tr6
4 files changed, 20 insertions, 0 deletions
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>