Skip to content

Instantly share code, notes, and snippets.

@yamoo9
Created May 14, 2015 10:29
Show Gist options
  • Save yamoo9/253bb2ee78e9a4619733 to your computer and use it in GitHub Desktop.
Save yamoo9/253bb2ee78e9a4619733 to your computer and use it in GitHub Desktop.
emmet-settins-psd2html-course.json
{
// "disable_tab_abbreviations_for_scopes": "source.scss",
"css_completions_scope": "source.css - meta.selector.css - meta.property-value.css, source.scss - meta.selector.scss - meta.property-value.scss, source.sass - meta.selector.sass - meta.property-value.sass",
"variables": {
"lang": "ko",
"locale": "ko-KR"
},
"snippets": {
"html": {
"snippets": {
// 조건부 주석문
"ce": "<!--// |${child} -->",
"cc:ie6": "<!--[if IE 6]>${child}|<![endif]-->",
"cc:ie7": "<!--[if IE 7]>${child}|<![endif]-->",
"cc:ie8": "<!--[if IE 8]>${child}|<![endif]-->",
"cc:ie9": "<!--[if IE 9]>${child}|<![endif]-->",
"cc:lt-ie7": "<!--[if lt IE 7]>${child}|<![endif]-->",
"cc:lt-ie8": "<!--[if lt IE 8]>${child}|<![endif]-->",
"cc:lt-ie9": "<!--[if lt IE 9]>${child}|<![endif]-->",
"cc:lte-ie7": "<!--[if lte IE 7]>${child}|<![endif]-->",
"cc:lte-ie8": "<!--[if lte IE 8]>${child}|<![endif]-->",
"cc:lte-ie9": "<!--[if lte IE 9]>${child}|<![endif]-->",
"cc:gt-ie6": "<!--[if gt IE 6]>${child}|<![endif]-->",
"cc:gt-ie7": "<!--[if gt IE 7]>${child}|<![endif]-->",
"cc:gt-ie8": "<!--[if gt IE 8]>${child}|<![endif]-->",
"cc:gte-ie6": "<!--[if gte IE 6]>${child}|<![endif]-->",
"cc:gte-ie7": "<!--[if gte IE 7]>${child}|<![endif]-->",
"cc:gte-ie8": "<!--[if gte IE 8]>${child}|<![endif]-->"
},
"abbreviations": {
// 메타
"meta:mobile": "<meta name=\"viewport\" content=\"width=${1:device-width}, initial-scale=1.0, maximum-scale=1.0\" />",
"meta:compat": "<meta http-equiv=\"X-UA-Compatible\" content=\"IE=${1:Edge}\" />",
// 문서
"doc": "html>(head>meta:compat+meta[charset=UTF-8]+title{${1:문서 제목}})+body",
"project": "html>(head>meta:compat+meta[charset=UTF-8]+title+meta:mobile+link:c)+body",
"!": "!!!+doc[lang=ko-KR]",
"!!": "!!!+project[lang=ko-KR]",
//
"style:4": "style[type=text/css]",
"script:4": "script[type=text/javascript]",
"iframe": "<iframe src=\"\">",
"table+": "table[border=1 id=|]>caption+tr",
// 단축 코드
"meta:m": "meta:mobile",
"meta:c": "meta:compat",
"link:f": "link:favicon",
"link:t": "link:touch",
"link:c": "link[href=\"css/${1:style}.css\"]"
}
}
},
"syntaxProfiles": {
// "html": "xhtml"
},
// Emmet 확장 경로 설정
// "extensions_path": "~/emmet",
"preferences": {
// Lorem Ipsum 기본 언어 설정: 한글(ko), 영어(en), 러시아어(ru)
"lorem.defaultLang": "ko",
// CSS Hex 컬러 단축(3 Dgit) 설정
"css.color.short": true,
// CSS 벤더 프리픽스 자동 추가 설정
"css.autoInsertVendorPrefixes": false,
// CSS 그레디언트 대체 컬러 추가 설정
"css.gradient.fallback": true,
// CSS 그레디언트 구형 Webkit 문법 추가 설정
// "css.gradient.oldWebkit": true,
// 영역 시작/끝 지점에 코멘트 추가 설정
"filter.commentBefore": "<!-- 시작: <%= attr('id', '#')%><%= attr('class', '.')%> -->\n",
"filter.commentAfter": "\n<!-- 끝: <%= attr('id', '#')%><%= attr('class', '.')%> -->"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment