[
  {
    "path": ".gitignore",
    "content": ".DS_Store\n"
  },
  {
    "path": "README.md",
    "content": "# Sublime Text HTML Snippets\n\n_A work in progress._\n\nType the snippet shortcode and then press <kbd>Tab</kbd> to complete the snippet.\n\nThe snippets are listed below in alphabetical order. The '$1' indicates the\nposition of the caret/s. Some snippets have been set up so that pressing Tab\njumps the caret/s to the next predefined spot. It's a little hard to explain,\nbut any snippet that has a $1/$2/$3/etc. uses this technique.\n\nFeel free to play with, alter, expand, or ruin these snippets as you please. I\nonly ask that if you come up with an incredibly handy snippet, or simply one\nthat I have missed, that you let me know (via email, Twitter or GitHub) so that\nI can improve these for everybody. Thanks!\n\n__IMPORTANT: If you are also using Emmet, add the following to Emmet's user settings file:__\n\n`\"disabled_single_snippets\": \"fig meta nav ol script style ul\"`\n\n---\n\n__a__\n\n```html\n<a href=\"$1\">$2</a>\n```\n\n__comm__\n\n```html\n<!-- $1 -->\n```\n\n__cond__\n\n```html\n<!--[if ${1:lt IE 9}]>\n    <link rel=stylesheet href=\"${2:css/ie.css\">}\n<![endif]-->\n```\n\n__doctype__\n\n```html\n<!doctype html>\n<html>\n    <head>\n        <meta charset=\"utf-8\">\n        <meta name=\"description\" content=\"$1\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n        <title>${2:Untitled}</title>\n        <link rel=\"stylesheet\" href=\"css/style.css\">\n        <link rel=\"author\" href=\"humans.txt\">\n    </head>\n    <body>\n        $3\n        <script src=\"js/main.js\"></script>\n    </body>\n</html>\n```\n\n__dummy__\n\n```html\nOne morning, when Gregor Samsa woke from troubled dreams, he found himself\ntransformed in his bed into a horrible vermin. He lay on his armour-like back,\nand if he lifted his head a little he could see his brown belly, slightly domed\nand divided by arches into stiff sections. The bedding was hardly able to cover\nit and seemed ready to slide off any moment. His many legs, pitifully thin\ncompared with the size of the rest of him, waved about helplessly as he looked.\n\"What's happened to me? \" he thought.\n```\n\n__fig__\n\n```html\n<figure>\n    <img src=\"$1\" alt=\"$2\">\n    <figcaption>$3</figcaption>\n</figure>\n```\n\n__ga__\n\n```html\n<script>\n    var _gaq = [['_setAccount', '${1:UA-XXXXX-X}'], ['_trackPageview']];\n    (function(d, t) {\n        var g = d.createElement(t),\n            s = d.getElementsByTagName(t)[0];\n        g.src = '//www.google-analytics.com/ga.js';\n        s.parentNode.insertBefore(g, s);\n    }(document, 'script'));\n</script>\n```\n\n__ga2__\n\n```html\n<script>\n    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n    ga('create', '${1:UA-XXXX-X}');\n    ga('send', 'pageview');\n</script>\n```\n\n__img__\n\n```html\n<img src=\"$1\" alt=\"$2\">\n```\n\n__jquery__\n\n```html\n<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js\"></script>\n```\n\n__lorem__\n\n```html\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor\nincididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis\nnostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\nDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu\nfugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in\nculpa qui officia deserunt mollit anim id est laborum.\n```\n\n__meta__\n\n```html\n<meta charset=utf-8>\n<meta name=description content=\"$1\">\n<meta name=viewport content=\"width=device-width, initial-scale=1\">\n```\n\n__nav__\n\nFor when using `inline-block`.\n\n```html\n<nav class=\"$1\">\n    <ul>\n        <li><a href=\"#\">$2</a></li><!--\n     --><li><a href=\"#\">$3</a></li><!--\n     --><li><a href=\"#\">$4</a></li><!--\n     --><li><a href=\"#\">$5</a></li>\n    </ul>\n</nav>\n```\n\n__nav2__\n\n```html\n<nav class=\"$1\">\n    <ul>\n        <li><a href=\"#\">$2</a></li>\n        <li><a href=\"#\">$3</a></li>\n        <li><a href=\"#\">$4</a></li>\n        <li><a href=\"#\">$5</a></li>\n    </ul>\n</nav>\n```\n\n__ol__\n\n```html\n<ol>\n    <li>$1</li>\n    <li>$2</li>\n    <li>$3</li>\n    <li>$4</li>\n</ol>\n```\n\n__script__\n\n```html\n<script src=\"$1\"></script>\n```\n\n__shiv__\n\n```html\n<!--[if lt IE 9]>\n    <script src=\"//html5shiv.googlecode.com/svn/trunk/html5.js\"></script>\n<![endif]-->\n```\n\n__style__\n\n```html\n<link rel=stylesheet href=\"$1\">\n```\n\n__ul__\n\n```html\n<ul>\n    <li>$1</li>\n    <li>$2</li>\n    <li>$3</li>\n    <li>$4</li>\n</ul>\n```\n\n__inp:text__\n\n```html\n<input type=\"text\">\n```\n\n__inp:tel__\n\n```html\n<input type=\"tel\">\n```\n\n__inp:radio__\n\n```html\n<input type=\"radio\">\n```\n\n__inp:check__\n\n```html\n<input type=\"checkbox\">\n```\n\n__inp:email__\n\n```html\n<input type=\"email\">\n```\n\n__inp:pass__\n\n```html\n<input type=\"password\">\n```\n\n__inp:submit__\n\n```html\n<input type=\"submit\">\n```\n\n```css\n<style type=\"text/css\">$1</style>\n```"
  },
  {
    "path": "a.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<a href=\"$1\">$2</a>$3]]></content>\n\t<tabTrigger>a</tabTrigger>\n\t<description>HTML - Anchor</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "comm.sublime-snippet",
    "content": "<snippet>\n    <content><![CDATA[<!-- $1 -->$2]]></content>\n    <tabTrigger>comm</tabTrigger>\n    <description>HTML - Comment</description>\n    <scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "cond.sublime-snippet",
    "content": "<snippet>\n    <content><![CDATA[<!--[if ${1:lt IE 9}]>\n    <link rel=stylesheet href=\"${2:css/ie.css\">}\n<![endif]-->$3]]></content>\n    <tabTrigger>cond</tabTrigger>\n    <description>HTML - Conditional comment</description>\n    <scope>text.html</scope>\n</snippet>\n"
  },
  {
    "path": "css.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<style type=\"text/css\">$1</style>]]></content>\n\t<tabTrigger>css</tabTrigger>\n    <description>HTML - Style tag</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "dummy.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections. The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. \"What's happened to me? \" he thought.]]></content>\n\t<tabTrigger>dummy</tabTrigger>\n    <description>HTML - Dummy text</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "fig.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<figure>\n    <img src=\"$1\" alt=\"$2\">\n    <figcaption>$3</figcaption>\n</figure>$4]]></content>\n\t<tabTrigger>fig</tabTrigger>\n    <description>HTML - Figure</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "ga.sublime-snippet",
    "content": "<snippet>\n    <content><![CDATA[<script>\n    var _gaq = [['_setAccount', '${1:UA-XXXXX-X}'], ['_trackPageview']];\n    (function(d, t) {\n        var g = d.createElement(t),\n            s = d.getElementsByTagName(t)[0];\n        g.src = '//www.google-analytics.com/ga.js';\n        s.parentNode.insertBefore(g, s);\n    }(document, 'script'));\n</script>$2]]></content>\n    <tabTrigger>ga</tabTrigger>\n    <description>HTML - Google Analytics</description>\n    <scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "ga2.sublime-snippet",
    "content": "<snippet>\n    <content><![CDATA[<script>\n    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n   \n    ga('create', '${1:UA-XXXX-X}');\n    ga('send', 'pageview');\n</script>$2]]></content>\n    <tabTrigger>ga2</tabTrigger>\n    <description>HTML - New Google Analytics</description>\n    <scope>text.html</scope>\n</snippet>\n"
  },
  {
    "path": "html.sublime-snippet",
    "content": "<snippet>\n    <content><![CDATA[<!doctype html>\n<html>\n    <head>\n        <meta charset=\"utf-8\">\n        <meta name=\"description\" content=\"$1\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n        <title>${2:Untitled}</title>\n        <link rel=\"stylesheet\" href=\"css/style.css\">\n        <link rel=\"author\" href=\"humans.txt\">\n    </head>\n    <body>\n        $3\n        <script src=\"js/main.js\"></script>\n    </body>\n</html>]]></content>\n    <tabTrigger>doctype</tabTrigger>\n    <description>HTML - HTML foundation</description>\n    <scope>text.html</scope>\n</snippet>\n"
  },
  {
    "path": "img.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<img src=\"$1\" alt=\"$2\">$3]]></content>\n\t<tabTrigger>img</tabTrigger>\n    <description>HTML - Image</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "input-checkbox.sublime-snippet",
    "content": "<snippet>\r\n\t<content><![CDATA[<input type=\"checkbox\">$1]]></content>\r\n\t<tabTrigger>inp:check</tabTrigger>\r\n\t<description>HTML - Input:checkbox</description>\r\n\t<scope>text.html</scope>\r\n</snippet>\r\n"
  },
  {
    "path": "input-email.sublime-snippet",
    "content": "<snippet>\r\n\t<content><![CDATA[<input type=\"email\">$1]]></content>\r\n\t<tabTrigger>inp:email</tabTrigger>\r\n\t<description>HTML - Input:email</description>\r\n\t<scope>text.html</scope>\r\n</snippet>\r\n"
  },
  {
    "path": "input-password.sublime-snippet",
    "content": "<snippet>\r\n\t<content><![CDATA[<input type=\"password\">$1]]></content>\r\n\t<tabTrigger>inp:pass</tabTrigger>\r\n\t<description>HTML - Input:password</description>\r\n\t<scope>text.html</scope>\r\n</snippet>\r\n"
  },
  {
    "path": "input-radio.sublime-snippet",
    "content": "<snippet>\r\n\t<content><![CDATA[<input type=\"radio\">$1]]></content>\r\n\t<tabTrigger>inp:radio</tabTrigger>\r\n\t<description>HTML - Input:radio</description>\r\n\t<scope>text.html</scope>\r\n</snippet>\r\n"
  },
  {
    "path": "input-submit.sublime-snippet",
    "content": "<snippet>\r\n\t<content><![CDATA[<input type=\"submit\" value=\"$1\">]]></content>\r\n\t<tabTrigger>inp:submit</tabTrigger>\r\n\t<description>HTML - Input:submit</description>\r\n\t<scope>text.html</scope>\r\n</snippet>\r\n"
  },
  {
    "path": "input-tel.sublime-snippet",
    "content": "<snippet>\r\n\t<content><![CDATA[<input type=\"tel\">$1]]></content>\r\n\t<tabTrigger>inp:tel</tabTrigger>\r\n\t<description>HTML - Input:tel</description>\r\n\t<scope>text.html</scope>\r\n</snippet>\r\n"
  },
  {
    "path": "input-text.sublime-snippet",
    "content": "<snippet>\r\n\t<content><![CDATA[<input type=\"text\">$1]]></content>\r\n\t<tabTrigger>inp:text</tabTrigger>\r\n\t<description>HTML - Input:text</description>\r\n\t<scope>text.html</scope>\r\n</snippet>\r\n"
  },
  {
    "path": "jquery.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js\"></script>]]></content>\n\t<tabTrigger>jquery</tabTrigger>\n\t<description>HTML - Include jQuery</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "lorem.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.]]></content>\n\t<tabTrigger>lorem</tabTrigger>\n    <description>HTML - Lorem Ipsum</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "messages/install.txt",
    "content": "Sublime Text 2 HTML Snippets\n\nType the snippet shortcode and then press Tab to complete the snippet.\n\nThe snippets are listed below in alphabetical order. The '$1' indicates the position of the caret/s. Some snippets have been set up so that pressing Tab jumps the caret/s to the next predefined spot. It's a little hard to explain, but any snippet that has a $1/$2/$3/etc. uses this technique.\n\nFeel free to play with, alter, expand, or ruin these snippets as you please. I only ask that if you come up with an incredibly handy snippet, or simply one that I have missed, that you let me know (via email, Twitter or GitHub) so that I can improve these for everybody. Thanks!\n\n--\n\na\n\n<a href=\"$1\">$2</a>\n\n--\n\ncomm\n\n<!-- $1 -->\n\n--\n\ncond\n\n<!--[if ${1:lt IE9}]>\n    <link rel=stylesheet href=\"${2:css/ie.css\">}\n<![endif]-->\n\n--\n\ndoctype\n\n<!doctype html>\n<html>\n    <head>\n        <meta charset=utf-8>\n        <meta name=description content=\"$1\">\n        <meta name=viewport content=\"width=device-width, initial-scale=1\">\n        <title>${2:Untitled}</title>\n        <link rel=stylesheet href=\"css/style.css\">\n        <link rel=author href=\"humans.txt\">\n    </head>\n    <body>\n        $3\n        <script src=\"js/main.js\"></script>\n    </body>\n</html>\n\n--\n\ndummy\n\nOne morning, when Gregor Samsa woke from troubled dreams, he found himself\ntransformed in his bed into a horrible vermin. He lay on his armour-like back,\nand if he lifted his head a little he could see his brown belly, slightly domed\nand divided by arches into stiff sections. The bedding was hardly able to cover\nit and seemed ready to slide off any moment. His many legs, pitifully thin\ncompared with the size of the rest of him, waved about helplessly as he looked.\n\"What's happened to me? \" he thought.\n\n--\n\nfig\n\n<figure>\n    <img src=\"$1\" alt=\"$2\">\n    <figcaption>$3</figcaption>\n</figure>\n\n--\n\nga\n\n<script>\n    var _gaq = [['_setAccount', '${1:UA-XXXXX-X}'], ['_trackPageview']];\n    (function(d, t) {\n        var g = d.createElement(t),\n            s = d.getElementsByTagName(t)[0];\n        g.src = '//www.google-analytics.com/ga.js';\n        s.parentNode.insertBefore(g, s);\n    }(document, 'script'));\n</script>\n\n--\n\nimg\n\n<img src=\"$1\" alt=\"$2\">\n\n--\n\njquery\n\n<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\"></script>\n<script>window.jQuery || document.write('<script src=\"js/vendor/jquery-1.8.3.min.js\"><\\/script>')</script>\n\n--\n\nlorem\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor\nincididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis\nnostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\nDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu\nfugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in\nculpa qui officia deserunt mollit anim id est laborum.\n\n--\n\nmeta\n\n<meta charset=utf-8>\n<meta name=description content=\"$1\">\n<meta name=viewport content=\"width=device-width, initial-scale=1\">\n\n--\n\nnav\n\n(For when using inline-block.)\n\n<nav class=\"$1\">\n    <ul>\n        <li><a href=\"#\">$2</a></li><!--\n     --><li><a href=\"#\">$3</a></li><!--\n     --><li><a href=\"#\">$4</a></li><!--\n     --><li><a href=\"#\">$5</a></li>\n    </ul>\n</nav>\n\n--\n\nnav2\n\n<nav class=\"$1\">\n    <ul>\n        <li><a href=\"#\">$2</a></li>\n        <li><a href=\"#\">$3</a></li>\n        <li><a href=\"#\">$4</a></li>\n        <li><a href=\"#\">$5</a></li>\n    </ul>\n</nav>\n\n--\n\nol\n\n<ol>\n    <li>$1</li>\n    <li>$2</li>\n    <li>$3</li>\n    <li>$4</li>\n</ol>\n\n--\n\nscript\n\n<script src=\"$1\"></script>\n\n--\n\nshiv\n\n<!--[if lt IE9]>\n    <script src=\"//html5shiv.googlecode.com/svn/trunk/html5.js\"></script>\n<![endif]-->\n\n--\n\nstyle\n\n<link rel=stylesheet href=\"$1\">\n\n--\n\nul\n\n<ul>\n    <li>$1</li>\n    <li>$2</li>\n    <li>$3</li>\n    <li>$4</li>\n</ul>\n"
  },
  {
    "path": "messages.json",
    "content": "{\n\t\"install\": \"messages/install.txt\",\n}\n"
  },
  {
    "path": "meta.sublime-snippet",
    "content": "<snippet>\n    <content><![CDATA[<meta charset=utf-8>\n<meta name=description content=\"$1\">\n<meta name=viewport content=\"width=device-width, initial-scale=1\">$2]]></content>\n    <tabTrigger>meta</tabTrigger>\n    <description>HTML - Meta tags</description>\n    <scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "nav.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<nav class=\"$1\">\n    <ul>\n        <li><a href=\"#\">$2</a></li><!--\n     --><li><a href=\"#\">$3</a></li><!--\n     --><li><a href=\"#\">$4</a></li><!--\n     --><li><a href=\"#\">$5</a></li>\n    </ul>\n</nav>$6]]></content>\n\t<tabTrigger>nav</tabTrigger>\n    <description>HTML - Navigation object (inline-block)</description>\n\t<scope>text.html</scope>\n</snippet>\n"
  },
  {
    "path": "nav2.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<nav class=\"$1\">\n    <ul>\n        <li><a href=\"#\">$2</a></li>\n        <li><a href=\"#\">$3</a></li>\n        <li><a href=\"#\">$4</a></li>\n        <li><a href=\"#\">$5</a></li>\n    </ul>\n</nav>$6]]></content>\n\t<tabTrigger>nav2</tabTrigger>\n    <description>HTML - Navigation object</description>\n\t<scope>text.html</scope>\n</snippet>\n"
  },
  {
    "path": "ol.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<ol>\n    <li>$1</li>\n    <li>$2</li>\n    <li>$3</li>\n    <li>$4</li>\n</ol>$5]]></content>\n\t<tabTrigger>ol</tabTrigger>\n    <description>HTML - Ordered list</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "script.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<script src=\"$1\"></script>$2]]></content>\n\t<tabTrigger>script</tabTrigger>\n    <description>HTML - Script</description>\n\t<scope>text.html</scope>\n</snippet>\n"
  },
  {
    "path": "shiv.sublime-snippet",
    "content": "<snippet>\n    <content><![CDATA[<!--[if lt IE 9]>\n    <script src=\"//html5shiv.googlecode.com/svn/trunk/html5.js\"></script>\n<![endif]-->]]></content>\n    <tabTrigger>shiv</tabTrigger>\n    <description>HTML - HTML5 shiv</description>\n    <scope>text.html</scope>\n</snippet>\n"
  },
  {
    "path": "style.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<link rel=stylesheet href=\"$1\">$2]]></content>\n\t<tabTrigger>style</tabTrigger>\n    <description>HTML - Stylesheet link</description>\n\t<scope>text.html</scope>\n</snippet>"
  },
  {
    "path": "ul.sublime-snippet",
    "content": "<snippet>\n\t<content><![CDATA[<ul>\n    <li>$1</li>\n    <li>$2</li>\n    <li>$3</li>\n    <li>$4</li>\n</ul>$5]]></content>\n\t<tabTrigger>ul</tabTrigger>\n    <description>HTML - Unordered list</description>\n\t<scope>text.html</scope>\n</snippet>"
  }
]