mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Update GFM snippets to atom syntax instead of textmate
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
'name': 'bold text'
|
||||
'scope': 'source.gfm'
|
||||
'tabTrigger': 'b'
|
||||
'content': '**$1**$0'
|
||||
@@ -1,4 +0,0 @@
|
||||
'name': 'code block'
|
||||
'scope': 'source.gfm'
|
||||
'tabTrigger': 'code'
|
||||
'content': '```$1\n$2\n```$0'
|
||||
16
src/packages/gfm/snippets/gfm.cson
Normal file
16
src/packages/gfm/snippets/gfm.cson
Normal file
@@ -0,0 +1,16 @@
|
||||
'.source.gfm':
|
||||
'bold text':
|
||||
prefix: 'b'
|
||||
body: '**$1**$0'
|
||||
'embedded image':
|
||||
prefix: 'img'
|
||||
body: '$0'
|
||||
'italic text':
|
||||
prefix: 'i'
|
||||
body: '*$1*$0'
|
||||
'link':
|
||||
prefix: 'l'
|
||||
body: '[$1]($2)$0'
|
||||
'code':
|
||||
prefix: 'code'
|
||||
body: '```$1\n$2\n```$0'
|
||||
@@ -1,4 +0,0 @@
|
||||
'name': 'embedded image'
|
||||
'scope': 'source.gfm'
|
||||
'tabTrigger': 'img'
|
||||
'content': '$0'
|
||||
@@ -1,4 +0,0 @@
|
||||
'name': 'italic text'
|
||||
'scope': 'source.gfm'
|
||||
'tabTrigger': 'i'
|
||||
'content': '*$1*$0'
|
||||
@@ -1,4 +0,0 @@
|
||||
'name': 'link'
|
||||
'scope': 'source.gfm'
|
||||
'tabTrigger': 'l'
|
||||
'content': '[$1]($2)$0'
|
||||
Reference in New Issue
Block a user