mirror of
https://github.com/kennethreitz-archive/kHTML.tmbundle.git
synced 2026-06-05 23:40:19 +00:00
added html templates
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>${TM_NEW_FILE_BASENAME}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>if [[ ! -f "$TM_NEW_FILE" ]]; then
|
||||
TM_DATE=`date +%Y-%m-%d` \
|
||||
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
|
||||
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
|
||||
< index.html > "$TM_NEW_FILE"
|
||||
fi</string>
|
||||
<key>extension</key>
|
||||
<string>html</string>
|
||||
<key>name</key>
|
||||
<string>HTML — 4.0 Transitional</string>
|
||||
<key>scope</key>
|
||||
<string>text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>E6F19171-F664-4B4F-92DA-3E15E6CAD35C</string>
|
||||
</dict>
|
||||
</plist>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>${TM_NEW_FILE_BASENAME}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>if [[ ! -f "$TM_NEW_FILE" ]]; then
|
||||
TM_DATE=`date +%Y-%m-%d` \
|
||||
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
|
||||
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
|
||||
< index.html > "$TM_NEW_FILE"
|
||||
fi</string>
|
||||
<key>extension</key>
|
||||
<string>html</string>
|
||||
<key>name</key>
|
||||
<string>HTML — 4.01 Strict</string>
|
||||
<key>scope</key>
|
||||
<string>text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>04332FA8-8157-46C4-9854-8C190FFD96C6</string>
|
||||
</dict>
|
||||
</plist>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>${TM_NEW_FILE_BASENAME}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<frameset>
|
||||
|
||||
</frameset>
|
||||
</html>
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>[ -f "$TM_NEW_FILE" ] || perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' <index.html >"$TM_NEW_FILE"</string>
|
||||
<key>extension</key>
|
||||
<string>html</string>
|
||||
<key>name</key>
|
||||
<string>XHTML — 1.0 Frameset</string>
|
||||
<key>scope</key>
|
||||
<string>text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>26068A55-4C84-409D-BA00-162B55AF6961</string>
|
||||
</dict>
|
||||
</plist>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>${TM_NEW_FILE_BASENAME}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>if [[ ! -f "$TM_NEW_FILE" ]]; then
|
||||
TM_DATE=`date +%Y-%m-%d` \
|
||||
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
|
||||
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
|
||||
< index.html > "$TM_NEW_FILE"
|
||||
fi</string>
|
||||
<key>extension</key>
|
||||
<string>html</string>
|
||||
<key>name</key>
|
||||
<string>XHTML — 1.0 Strict</string>
|
||||
<key>scope</key>
|
||||
<string>text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>EBEE6B51-29C7-4362-818F-A190CACD5296</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>${TM_NEW_FILE_BASENAME}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>[ -f "$TM_NEW_FILE" ] || perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' <index.html >"$TM_NEW_FILE"</string>
|
||||
<key>extension</key>
|
||||
<string>html</string>
|
||||
<key>name</key>
|
||||
<string>XHTML — 1.0 Transitional</string>
|
||||
<key>scope</key>
|
||||
<string>text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>65D38039-6B0A-48E9-9E49-43832ECC4107</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
|
||||
<head>
|
||||
<title>${TM_NEW_FILE_BASENAME}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>[ -f "$TM_NEW_FILE" ] || perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' <index.html >"$TM_NEW_FILE"</string>
|
||||
<key>extension</key>
|
||||
<string>html</string>
|
||||
<key>name</key>
|
||||
<string>XHTML — 1.1</string>
|
||||
<key>scope</key>
|
||||
<string>text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>CDE8EFD6-9DE2-4E8C-BB6A-52E8CCD2E977</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user