mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Fix toMarkdownString
This commit is contained in:
parent
9cdbea5f86
commit
0bd3f1cfa9
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ function toMarkdownString(entry: ls.MarkupContent | ls.MarkedString): monaco.IMa
|
|||
};
|
||||
}
|
||||
|
||||
return { value: '```' + entry.value + '\n' + entry.value + '\n```\n' };
|
||||
return { value: '```' + entry.language + '\n' + entry.value + '\n```\n' };
|
||||
}
|
||||
|
||||
function toMarkedStringArray(contents: ls.MarkedString | ls.MarkedString[]): monaco.IMarkdownString[] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue