mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
Disable markdown selectors
This commit is contained in:
parent
141a302521
commit
510bb72431
1 changed files with 4 additions and 0 deletions
|
|
@ -943,6 +943,10 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||
const details: McpDownloadResponse = await response.json()
|
||||
|
||||
if (details.readmeContent) {
|
||||
// Disable markdown preview markers
|
||||
const config = vscode.workspace.getConfiguration("markdown")
|
||||
await config.update("preview.markEditorSelection", false, true)
|
||||
|
||||
// Create URI with base64 encoded markdown content
|
||||
const uri = vscode.Uri.parse(
|
||||
`${DIFF_VIEW_URI_SCHEME}:${details.name} README?${Buffer.from(details.readmeContent).toString("base64")}`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue