Skip to content

Commit 7aac1b5

Browse files
committed
add: snippet html document
1 parent 3a559b9 commit 7aac1b5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

html/html-document.sublime-snippet

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<!DOCTYPE html>
4+
<html class="no-js" lang="pt-BR" xml:lang="pt-BR" itemscope="itemscope" itemtype="http://schema.org/Organization">
5+
<head>
6+
<meta charset="utf-8">
7+
<title></title>
8+
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
9+
<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=1">
10+
<script type="text/javascript">
11+
// para identificação se o javascript está ativo
12+
var tagHtml = document.getElementsByTagName("html")[0];
13+
tagHtml.className = tagHtml.className.replace('no-js', 'js');
14+
</script>
15+
</head>
16+
<body>
17+
18+
</body>
19+
</html>
20+
]]></content>
21+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
22+
<tabTrigger>html</tabTrigger>
23+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
24+
<!-- <scope>source.python</scope> -->
25+
</snippet>

0 commit comments

Comments
 (0)