/** * Jupyter notebooks handles the following data types * that are to be handled by `html.vue` * * 'text/html'; * 'image/svg+xml'; * * This file sets up fixtures for each of these types * NOTE: The inputs are taken directly from data derived from the * jupyter notebook file used to test nbview here: * https://nbviewer.jupyter.org/github/ipython/ipython-in-depth/blob/master/examples/IPython%20Kernel/Rich%20Output.ipynb */ export default [ [ 'text/html table', { input: [ '\n', '\n', '\n', '\n', '\n', '\n', '\n', '\n', '\n', '\n', '\n', '\n', '\n', '
Header 1Header 2
row 1, cell 1row 1, cell 2
row 2, cell 1row 2, cell 2
', ].join(''), output: '', }, ], // Note: style is sanitized out [ 'text/html style', { input: [ '', ].join(''), output: '', }, ], // Note: iframe is sanitized out [ 'text/html iframe', { input: [ '\n', ' \n', ' ', ].join(''), output: '', }, ], [ 'image/svg+xml', { input: [ '\n', ' \n', ' \n', ' \n', '', ].join(), output: '