I'm working with node , trying to build jupyter notebooks programatically. I'm trying to create a function that will build a notebook 'code' type cell. After working in the repl I have:
function codeCell(arr =>
`{
cell_type: 'code',
execution_count: null,
metadata: { tags: [] },
outputs: [],
source: [${arr}]
}`
);
As you can see in the screenshot I'm getting an identifier expected error. What am I doing wrong?
