mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
remove NotebookCellOutputItem#value, https://github.com/microsoft/vscode/issues/123884
This commit is contained in:
@@ -12,7 +12,7 @@ export function activate() {
|
||||
|
||||
return {
|
||||
renderCell: (_id: string, context: { element: HTMLElement, value: string, text(): string }) => {
|
||||
const rendered = markdownIt.render(context.value || context.text()); // todo@jrieken remove .value-usage
|
||||
const rendered = markdownIt.render(context.text());
|
||||
context.element.innerHTML = rendered;
|
||||
|
||||
// Insert styles into markdown preview shadow dom so that they are applied
|
||||
|
||||
Reference in New Issue
Block a user