mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +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 {
|
||||
range: new monaco.Range(1, 1, model.getLineCount(), model.getLineMaxColumn(model.getLineCount())),
|
||||
contents: [
|
||||
'**SOURCE**',
|
||||
{ language: 'html', value: res.responseText.substring(0, 200) }
|
||||
{ value: '**SOURCE**' },
|
||||
{ value: '```html\n' + res.responseText.substring(0, 200) + '\n```' }
|
||||
]
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue