mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Update generated samples
This commit is contained in:
parent
32921a26c6
commit
27bb265b52
1 changed files with 2 additions and 2 deletions
|
|
@ -45,8 +45,8 @@ monaco.languages.registerHoverProvider('mySpecialLanguage', {
|
||||||
return {
|
return {
|
||||||
range: new monaco.Range(1, 1, model.getLineCount(), model.getLineMaxColumn(model.getLineCount())),
|
range: new monaco.Range(1, 1, model.getLineCount(), model.getLineMaxColumn(model.getLineCount())),
|
||||||
contents: [
|
contents: [
|
||||||
'**SOURCE**',
|
{ value: '**SOURCE**' },
|
||||||
{ language: 'html', value: res.responseText.substring(0, 200) }
|
{ value: '```html\n' + res.responseText.substring(0, 200) + '\n```' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue