ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

HTML Boilerplate

by sloria ALL

Sublime Text 2/3 snippet to generate HTML5 boilerplate

Details

  • 2018.02.10.16.46.48
  • github.​com
  • github.​com
  • 6 years ago
  • 8 minutes ago
  • 10 years ago

Installs

  • Total 124K
  • Win 74K
  • Mac 33K
  • Linux 17K
Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14
Windows 6 7 6 15 5 4 13 9 6 11 9 8 8 9 13 13 8 9 2 11 10 6 8 7 9 7 1 3 7 10 7 7 2 4 4 7 8 4 13 10 6 5 12 9 8 3
Mac 1 2 0 0 2 2 1 1 0 1 2 2 1 2 1 2 2 7 0 0 0 3 1 2 1 2 0 0 2 0 0 2 0 0 4 1 1 1 1 1 2 0 1 2 1 0
Linux 1 0 1 2 0 1 5 1 2 0 1 0 1 2 0 0 0 0 1 1 1 2 3 4 1 2 3 1 0 1 0 2 1 1 1 1 2 1 1 1 0 1 3 2 1 1

Readme

Source
raw.​githubusercontent.​com

Sublime HTML5 Boilerplate

A Sublime Text 2/3 snippet to generate the HTML5 Boilerplate (v6.0.1) template.

Install

Option 1: Manual

Copy the files to your Packages directory.

Option 2: Package Control

In the command pallette (Cmd-Shift+P on Mac) type 'Install' then press enter to see a list of packages. Search for 'HTML Boilerplate' then press enter to install.

Usage

With a blank saved HTML file open, type

htmlboiler

and press TAB.

That generates:

<!doctype html>
<html class="no-js" lang="">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>${1}</title>
    <meta name="description" content="${2}">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="manifest" href="site.webmanifest">
    <link rel="apple-touch-icon" href="icon.png">


    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/main.css">
</head> 
<body>



    <p>Hello world! This is HTML5 Boilerplate.</p>
    <script src="js/vendor/modernizr-3.5.0.min.js"></script>
    <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
    <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.2.1.min.js"><\/script>')</script>
    <script src="js/plugins.js"></script>
    <script src="js/main.js"></script>


    <script>
        window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
        ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
    </script>
    <script src="https://www.google-analytics.com/analytics.js" async defer></script>
</body>
</html>

License

MIT Licensed.