@codingame/monaco-vscode-chat-service-override 3.1.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@3.
|
|
22
|
-
"vscode-marked": "npm:marked@=3.0.2"
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@3.2.0"
|
|
23
22
|
}
|
|
24
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
2
|
-
import
|
|
2
|
+
import marked_1 from '../../../../../../../../external/vscode-marked/lib/marked.esm.js';
|
|
3
3
|
import { IBulkEditService } from 'vscode/vscode/vs/editor/browser/services/bulkEditService';
|
|
4
4
|
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
5
5
|
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
@@ -242,7 +242,7 @@ function registerChatTitleActions() {
|
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
244
|
function splitMarkdownAndCodeBlocks(markdown) {
|
|
245
|
-
const lexer = new
|
|
245
|
+
const lexer = new marked_1.Lexer();
|
|
246
246
|
const tokens = lexer.lex(markdown);
|
|
247
247
|
const splitContent = [];
|
|
248
248
|
let markdownPart = '';
|