mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 08:28:41 +03:00
Support colorizing fenced python blocks
This commit is contained in:
parent
34e5594a2d
commit
1cf02c22a7
@ -124,6 +124,16 @@
|
||||
'name': 'markup.code.shell.gfm'
|
||||
'patterns': ['include': 'source.shell']
|
||||
}
|
||||
{
|
||||
'begin': '^`{3,}py(thon)?$'
|
||||
'beginCaptures':
|
||||
'0': 'name': 'support.gfm'
|
||||
'end': '^`{3,}$'
|
||||
'endCaptures':
|
||||
'0': 'name': 'support.gfm'
|
||||
'name': 'markup.code.shell.gfm'
|
||||
'patterns': ['include': 'source.shell']
|
||||
}
|
||||
{
|
||||
'begin': '^`{3,}.*$'
|
||||
'beginCaptures':
|
||||
|
@ -14,6 +14,7 @@ fenceNameToExtension =
|
||||
'javascript': 'js'
|
||||
'js': 'js'
|
||||
'mustache': 'mustache'
|
||||
'python': 'py'
|
||||
'rb': 'rb'
|
||||
'ruby': 'rb'
|
||||
'sh': 'sh'
|
||||
|
Loading…
Reference in New Issue
Block a user