Format sources

This commit is contained in:
Alex Dima 2017-06-08 18:54:55 +02:00
parent da162968ac
commit f661c5f826
65 changed files with 19255 additions and 17150 deletions

View file

@ -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 ![link](http://link.com)',
tokens: [
{ startIndex: 0, type: '' },
{ startIndex: 5, type: 'string.link.md' },
{ startIndex: 7, type: '' },
{ startIndex: 11, type: 'string.link.md' }
]
}]
]);
[{
line: 'some ![link](http://link.com)',
tokens: [
{ startIndex: 0, type: '' },
{ startIndex: 5, type: 'string.link.md' },
{ startIndex: 7, type: '' },
{ startIndex: 11, type: 'string.link.md' }
]
}]
]);