From 1de4d832ccb061c13cf70eaf0221fbaa86abfbdd Mon Sep 17 00:00:00 2001 From: kieferrm Date: Tue, 30 Aug 2016 17:26:32 -0700 Subject: [PATCH] fixed #11263 --- src/vs/workbench/api/node/extHostApiCommands.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vs/workbench/api/node/extHostApiCommands.ts b/src/vs/workbench/api/node/extHostApiCommands.ts index d42f472026178..62084d1a08563 100644 --- a/src/vs/workbench/api/node/extHostApiCommands.ts +++ b/src/vs/workbench/api/node/extHostApiCommands.ts @@ -173,6 +173,9 @@ class ExtHostApiCommands { let href = encodeURI('command:vscode.previewHtml?' + JSON.stringify(someUri)); let html = 'Show Resource....'; \`\`\` + + 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' },