We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf2110 commit 5de3dd3Copy full SHA for 5de3dd3
src/vs/workbench/contrib/chat/browser/chatListRenderer.ts
@@ -396,7 +396,11 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
396
const slashCommands = this.delegate.getSlashCommands();
397
const usedSlashCommand = slashCommands.find(s => markdown.value.startsWith(`/${s.command} `));
398
const toRender = usedSlashCommand ? markdown.value.slice(usedSlashCommand.command.length + 2) : markdown.value;
399
- markdown = new MarkdownString(toRender);
+ markdown = new MarkdownString(toRender, {
400
+ isTrusted: {
401
+ enabledCommands: ['vscode.open']
402
+ },
403
+ });
404
405
const codeblocks: IChatCodeBlockInfo[] = [];
406
const result = this.renderer.render(markdown, {
0 commit comments