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

Commit

Permalink
Merge pull request #20 from fathyb/hover/cover-block
Browse files Browse the repository at this point in the history
Use Mardown code block for hover tooltip
  • Loading branch information
alexdima authored May 15, 2018
2 parents 64641ee + 407357f commit 03655e6
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 03655e6

Please sign in to comment.