mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Format sources
This commit is contained in:
parent
da162968ac
commit
f661c5f826
65 changed files with 19255 additions and 17150 deletions
|
|
@ -5,40 +5,40 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
import {testTokenization} from './testRunner';
|
||||
import { testTokenization } from './testRunner';
|
||||
|
||||
testTokenization('markdown', [
|
||||
|
||||
[{
|
||||
line: '# Some header',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: 'keyword.md' }
|
||||
]
|
||||
}],
|
||||
[{
|
||||
line: '# Some header',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: 'keyword.md' }
|
||||
]
|
||||
}],
|
||||
|
||||
[{
|
||||
line: '* Some list item',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: 'keyword.md' },
|
||||
{ startIndex: 2, type: '' }
|
||||
]
|
||||
}],
|
||||
[{
|
||||
line: '* Some list item',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: 'keyword.md' },
|
||||
{ startIndex: 2, type: '' }
|
||||
]
|
||||
}],
|
||||
|
||||
[{
|
||||
line: 'some `code`',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: '' },
|
||||
{ startIndex: 5, type: 'variable.md' }
|
||||
]
|
||||
}],
|
||||
[{
|
||||
line: 'some `code`',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: '' },
|
||||
{ startIndex: 5, type: 'variable.md' }
|
||||
]
|
||||
}],
|
||||
|
||||
[{
|
||||
line: 'some ',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: '' },
|
||||
{ startIndex: 5, type: 'string.link.md' },
|
||||
{ startIndex: 7, type: '' },
|
||||
{ startIndex: 11, type: 'string.link.md' }
|
||||
]
|
||||
}]
|
||||
]);
|
||||
[{
|
||||
line: 'some ',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: '' },
|
||||
{ startIndex: 5, type: 'string.link.md' },
|
||||
{ startIndex: 7, type: '' },
|
||||
{ startIndex: 11, type: 'string.link.md' }
|
||||
]
|
||||
}]
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue