init
This commit is contained in:
1
snippets/html-mode/.yas-parents
Normal file
1
snippets/html-mode/.yas-parents
Normal file
@@ -0,0 +1 @@
|
||||
nxml-mode
|
||||
6
snippets/html-mode/dd
Normal file
6
snippets/html-mode/dd
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Rodrigo Setti <rodrigosetti@gmail.com>
|
||||
# name: <dd> ... </dd>
|
||||
# group : list
|
||||
# --
|
||||
<dd>$1</dd>
|
||||
8
snippets/html-mode/dl
Normal file
8
snippets/html-mode/dl
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Rodrigo Setti <rodrigosetti@gmail.com>
|
||||
# name: <dl> ... </dl>
|
||||
# group : list
|
||||
# --
|
||||
<dl>
|
||||
$0
|
||||
</dl>
|
||||
5
snippets/html-mode/doctype
Normal file
5
snippets/html-mode/doctype
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Doctype HTML 4.01 Strict
|
||||
# group : meta
|
||||
# --
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
5
snippets/html-mode/doctype.html5
Normal file
5
snippets/html-mode/doctype.html5
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Doctype HTML 5
|
||||
# group : meta
|
||||
# --
|
||||
<!DOCTYPE html>
|
||||
5
snippets/html-mode/doctype.xhtml1
Normal file
5
snippets/html-mode/doctype.xhtml1
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: DocType XHTML 1.0 frameset
|
||||
# group : meta
|
||||
# --
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||
5
snippets/html-mode/doctype.xhtml1_1
Normal file
5
snippets/html-mode/doctype.xhtml1_1
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: DocType XHTML 1.1
|
||||
# group : meta
|
||||
# --
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
5
snippets/html-mode/doctype.xhtml1_strict
Normal file
5
snippets/html-mode/doctype.xhtml1_strict
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: DocType XHTML 1.0 Strict
|
||||
# group : meta
|
||||
# --
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
5
snippets/html-mode/doctype.xhtml1_transitional
Normal file
5
snippets/html-mode/doctype.xhtml1_transitional
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: DocType XHTML 1.0 Transitional
|
||||
# group : meta
|
||||
# --
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
6
snippets/html-mode/dt
Normal file
6
snippets/html-mode/dt
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Rodrigo Setti <rodrigosetti@gmail.com>
|
||||
# name: <dt> ... </dt>
|
||||
# group : list
|
||||
# --
|
||||
<dt>$1</dt>
|
||||
7
snippets/html-mode/form
Normal file
7
snippets/html-mode/form
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: form
|
||||
# name: form
|
||||
# --
|
||||
<form method="$1" id="$2" action="$3">
|
||||
$0
|
||||
</form>
|
||||
7
snippets/html-mode/html
Normal file
7
snippets/html-mode/html
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
# name: <html>...</html>
|
||||
# --
|
||||
<html>
|
||||
$0
|
||||
</html>
|
||||
7
snippets/html-mode/html.xmlns
Normal file
7
snippets/html-mode/html.xmlns
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# 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>
|
||||
5
snippets/html-mode/link.import
Normal file
5
snippets/html-mode/link.import
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Vikrant Rathore <vikrant@vyomtech.com>
|
||||
# name: <link rel="import" />
|
||||
# --
|
||||
<link rel="import" href="${1:url}" />
|
||||
5
snippets/html-mode/link.stylesheet
Normal file
5
snippets/html-mode/link.stylesheet
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
# name: <link stylesheet="..." />
|
||||
# --
|
||||
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
|
||||
7
snippets/html-mode/link.stylesheet-ie
Normal file
7
snippets/html-mode/link.stylesheet-ie
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# 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]-->
|
||||
5
snippets/html-mode/mailto
Normal file
5
snippets/html-mode/mailto
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
# name: <a href="mailto:...@...">...</a>
|
||||
# --
|
||||
<a href="mailto:$1@$2">$0</a>
|
||||
6
snippets/html-mode/meta
Normal file
6
snippets/html-mode/meta
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
# group : meta
|
||||
# name: <meta name="..." content="..." />
|
||||
# --
|
||||
<meta name="${1:generator}" content="${2:content}" />
|
||||
6
snippets/html-mode/meta.http-equiv
Normal file
6
snippets/html-mode/meta.http-equiv
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
# name: <meta http-equiv="..." content="..." />
|
||||
# group : meta
|
||||
# --
|
||||
<meta http-equiv="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />
|
||||
7
snippets/html-mode/script.javascript
Normal file
7
snippets/html-mode/script.javascript
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: script
|
||||
# name: script
|
||||
# --
|
||||
<script type="text/javascript">
|
||||
$0
|
||||
</script>
|
||||
5
snippets/html-mode/script.javascript-src
Normal file
5
snippets/html-mode/script.javascript-src
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: script
|
||||
# name: script src
|
||||
# --
|
||||
<script type="text/javascript" src="$1"></script>
|
||||
5
snippets/html-mode/textarea
Normal file
5
snippets/html-mode/textarea
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
# name: <textarea ...></textarea>
|
||||
# --
|
||||
<textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea>
|
||||
6
snippets/html-mode/th
Normal file
6
snippets/html-mode/th
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||
# name: <th>...</th>
|
||||
# group : table
|
||||
# --
|
||||
<th$1>$2</th>
|
||||
Reference in New Issue
Block a user