customize tags html

This commit is contained in:
Tony 2014-07-04 14:10:41 -05:00 committed by Tony Salamanca
parent 59e9d8e9bd
commit 4343a3c660

View File

@ -353,6 +353,14 @@ snippet figcaption
<figcaption>${0}</figcaption> <figcaption>${0}</figcaption>
snippet figure snippet figure
<figure>${0}</figure> <figure>${0}</figure>
snippet figure#
<figure id="${1}">
${0}
</figure>
snippet figure.
<figure class="${1}">
${0}
</figure>
snippet footer snippet footer
<footer> <footer>
${0} ${0}
@ -454,10 +462,23 @@ snippet html5
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width" />
<title>${1:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title> <title>${1:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
${2:meta} ${2:link}
</head>
<body>
${0:body}
</body>
</html>
snippet html5l
<!DOCTYPE html>
<html lang="${1:es}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>${2:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
${3:link}
</head> </head>
<body> <body>
${0:body} ${0:body}
@ -561,6 +582,8 @@ snippet link
<link rel="${1}" href="${2}" title="${3}" type="${4}" /> <link rel="${1}" href="${2}" title="${3}" type="${4}" />
snippet link:atom snippet link:atom
<link rel="alternate" href="${1:atom.xml}" title="Atom" type="application/atom+xml" /> <link rel="alternate" href="${1:atom.xml}" title="Atom" type="application/atom+xml" />
snippet link:s
<link rel="stylesheet" href="${1:style.css}" />
snippet link:css snippet link:css
<link rel="stylesheet" href="${1:style.css}" type="text/css" media="${2:all}" /> <link rel="stylesheet" href="${1:style.css}" type="text/css" media="${2:all}" />
snippet link:favicon snippet link:favicon
@ -601,6 +624,10 @@ snippet menu:t
</menu> </menu>
snippet meta snippet meta
<meta http-equiv="${1}" content="${2}" /> <meta http-equiv="${1}" content="${2}" />
snippet meta:s
<meta ${0} />
snippet meta:d
<meta name="description" content="${0}" />
snippet meta:compat snippet meta:compat
<meta http-equiv="X-UA-Compatible" content="IE=${1:7,8,edge}" /> <meta http-equiv="X-UA-Compatible" content="IE=${1:7,8,edge}" />
snippet meta:refresh snippet meta:refresh
@ -703,6 +730,12 @@ snippet script
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
${0} ${0}
</script> </script>
snippet scripts
<script src="${0}.js"></script>
snippet scriptt
<script type="${1}" id="${2}">
${0}
</script>
snippet scriptsrc snippet scriptsrc
<script src="${0}.js" type="text/javascript" charset="utf-8"></script> <script src="${0}.js" type="text/javascript" charset="utf-8"></script>
snippet section snippet section