mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Can't preview custom agents' markdown files (#286331)
This commit is contained in:
committed by
GitHub
parent
fc07512ec0
commit
42434d7c15
@@ -19,7 +19,7 @@ export const markdownFileExtensions = Object.freeze<string[]>([
|
||||
'workbook',
|
||||
]);
|
||||
|
||||
export const markdownLanguageIds = ['markdown', 'prompt', 'instructions', 'chatmode'];
|
||||
export const markdownLanguageIds = ['markdown', 'prompt', 'instructions', 'chatagent'];
|
||||
|
||||
export function isMarkdownFile(document: vscode.TextDocument) {
|
||||
return markdownLanguageIds.indexOf(document.languageId) !== -1;
|
||||
|
||||
Reference in New Issue
Block a user