Skip to content

Commit

Permalink
!html modern expansion H5BP
Browse files Browse the repository at this point in the history
  • Loading branch information
bukinoshita committed Feb 3, 2016
1 parent 3a946a2 commit 6026cec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,8 @@
"meta": "<meta/>",
"meta:utf": "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\" />",
"meta:win": "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=windows-1251\" />",
"meta:vp": "<meta name=\"viewport\" content=\"width=${1:device-width}, user-scalable=${2:no}, initial-scale=${3:1.0}, maximum-scale=${4:1.0}, minimum-scale=${5:1.0}\" />",
"meta:edge": "<meta http-equiv=\"X-UA-Compatible\" content=\"${1:ie=edge}\" />",
"meta:vp": "<meta name=\"viewport\" content=\"width=${1:device-width}, initial-scale=${3:1.0}\" />",
"meta:compat": "<meta http-equiv=\"X-UA-Compatible\" content=\"${1:IE=7}\" />",
"style": "<style>",
"script": "<script !src=\"\">",
Expand Down Expand Up @@ -819,7 +820,8 @@
"out": "output",
"det": "details",
"cmd": "command",
"doc": "html>(head>meta[charset=${charset}]+title{${1:Document}})+body",

"doc": "html>(head>meta[charset=${charset}]+meta:vp+meta:edge+title{${1:Document}})+body",
"doc4": "html>(head>meta[http-equiv=\"Content-Type\" content=\"text/html;charset=${charset}\"]+title{${1:Document}})+body",

"ri:d|ri:dpr": "img:s",
Expand Down

2 comments on commit 6026cec

@IvanRadchenko
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bukinoshita hey!

Seems that the meta:edge does not work. Have you succeeded in expanding it? Moreover the "doc" abbr that you have changed does not include the meta:vp expansion. Suppose that that this kind of import does not work here

@IvanRadchenko
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meta:vp outside of "doc" does work

Please sign in to comment.