Merge pull request #20 from fathyb/hover/cover-block

Use Mardown code block for hover tooltip
pull/2748/head
Alexandru Dima 7 years ago committed by GitHub
commit 03655e6da9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -330,7 +330,7 @@ export class QuickInfoAdapter extends Adapter implements monaco.languages.HoverP
return {
range: this._textSpanToRange(resource, info.textSpan),
contents: [{
value: contents
value: '```js\n' + contents + '\n```\n'
}, {
value: documentation + (tags ? '\n\n' + tags : '')
}]

Loading…
Cancel
Save