Skip to content

Commit

Permalink
fixed #11263
Browse files Browse the repository at this point in the history
  • Loading branch information
kieferrm committed Aug 31, 2016
1 parent 964be94 commit 1de4d83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/workbench/api/node/extHostApiCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ class ExtHostApiCommands {
let href = encodeURI('command:vscode.previewHtml?' + JSON.stringify(someUri));
let html = '<a href="' + href + '">Show Resource...</a>.';
\`\`\`
The body element of the displayed html is dynamically annotated with one of the following css classes in order to
communicate the kind of color theme vscode is currently using: \`vscode-light\`, \`vscode-dark\`, or \`vscode-high-contrast\'.
`,
args: [
{ name: 'uri', description: 'Uri of the resource to preview.', constraint: value => value instanceof URI || typeof value === 'string' },
Expand Down

0 comments on commit 1de4d83

Please sign in to comment.