I am trying to develop an extension that on command will launch a jupyter notebook file with sample code.
I have the notebook contents in a json file contained in the extension. My problem is that I’m not sure how to import/load this file to the jupyterlab file browser to then be launched.
Just noticed that when I use a similar method to this everything works except the kernel does not update to the new name of the notebook.
So it stays as the default ‘Untitled.ipynb’ for the kernel instead of the notebook name. Is there a way to refresh or change the name of the kernel after renaming?
@zymmatt Not sure about raw loader, but typescript will allow importing of JSON files directly. So you can just import the notebook in JSON format and use that.