Update GFM snippets to atom syntax instead of textmate

This commit is contained in:
Corey Johnson & Nathan Sobo
2013-03-21 16:17:50 -06:00
parent b169759f98
commit ef595c74ef
6 changed files with 16 additions and 20 deletions

View File

@@ -1,4 +0,0 @@
'name': 'bold text'
'scope': 'source.gfm'
'tabTrigger': 'b'
'content': '**$1**$0'

View File

@@ -1,4 +0,0 @@
'name': 'code block'
'scope': 'source.gfm'
'tabTrigger': 'code'
'content': '```$1\n$2\n```$0'

View File

@@ -0,0 +1,16 @@
'.source.gfm':
'bold text':
prefix: 'b'
body: '**$1**$0'
'embedded image':
prefix: 'img'
body: '![$1]($2)$0'
'italic text':
prefix: 'i'
body: '*$1*$0'
'link':
prefix: 'l'
body: '[$1]($2)$0'
'code':
prefix: 'code'
body: '```$1\n$2\n```$0'

View File

@@ -1,4 +0,0 @@
'name': 'embedded image'
'scope': 'source.gfm'
'tabTrigger': 'img'
'content': '![$1]($2)$0'

View File

@@ -1,4 +0,0 @@
'name': 'italic text'
'scope': 'source.gfm'
'tabTrigger': 'i'
'content': '*$1*$0'

View File

@@ -1,4 +0,0 @@
'name': 'link'
'scope': 'source.gfm'
'tabTrigger': 'l'
'content': '[$1]($2)$0'