Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Use Mardown code block for hover tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
fathyb committed May 13, 2018
1 parent 64641ee commit 407357f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 : '')
}]
Expand Down

0 comments on commit 407357f

Please sign in to comment.