This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

View File

@@ -0,0 +1 @@
nxml-mode

6
snippets/html-mode/dd Normal file
View 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
View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor : Rodrigo Setti <rodrigosetti@gmail.com>
# name: <dl> ... </dl>
# group : list
# --
<dl>
$0
</dl>

View 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">

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: Doctype HTML 5
# group : meta
# --
<!DOCTYPE html>

View 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">

View 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">

View 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">

View 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
View 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
View 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
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
# name: <html>...</html>
# --
<html>
$0
</html>

View 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>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# contributor : Vikrant Rathore <vikrant@vyomtech.com>
# name: <link rel="import" />
# --
<link rel="import" href="${1:url}" />

View 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}" />

View 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]-->

View 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
View 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}" />

View 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}" />

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: script
# name: script
# --
<script type="text/javascript">
$0
</script>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# key: script
# name: script src
# --
<script type="text/javascript" src="$1"></script>

View 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
View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
# name: <th>...</th>
# group : table
# --
<th$1>$2</th>