mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
use string concat and rename escape trick to signal that it creates a code block, #10939
This commit is contained in:
@@ -67,7 +67,7 @@ function markedStringEqual(a:MarkedString, b:MarkedString): boolean {
|
||||
);
|
||||
}
|
||||
|
||||
export function textToMarkedString(text: string) : MarkedString {
|
||||
export function textAsCodeBlock(text: string) : MarkedString {
|
||||
return { language: 'string', value: text };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user