mirror of
https://github.com/marktext/marktext.git
synced 2025-05-21 11:20:54 +08:00
Add swift syntax highlighting (#57)
This commit is contained in:
parent
9e89a653fb
commit
edd4b07e92
4
src/editor/codeMirror/modes.js
vendored
4
src/editor/codeMirror/modes.js
vendored
@ -2,6 +2,10 @@ const languages = [{
|
||||
'name': 'objectivec',
|
||||
'mode': 'clike',
|
||||
'mime': 'text/x-objectivec'
|
||||
}, {
|
||||
'name': 'swift',
|
||||
'mode': 'swift',
|
||||
'mime': 'text/x-swift'
|
||||
}, {
|
||||
'name': 'c_cpp',
|
||||
'mode': 'clike',
|
||||
|
Loading…
Reference in New Issue
Block a user