Remove test file
parent
8d0e3d15f9
commit
5f5a917796
|
@ -1,21 +0,0 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import type { ActivationFunction } from 'vscode-notebook-renderer';
|
||||
|
||||
const activate: ActivationFunction = (_ctx) => {
|
||||
return {
|
||||
renderOutputItem: (item, element) => {
|
||||
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
||||
svg.setAttribute('viewBox', '0 0 300 100');
|
||||
|
||||
svg.innerHTML = item.text();
|
||||
element.innerText = '';
|
||||
|
||||
element.appendChild(svg);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
export { activate };
|
Loading…
Reference in New Issue