Is your feature request related to a problem? Please describe.
Right now the best and virtually only way to create notebooks is through the web UI.
This is awesome, but in the spirit of Observable truly embracing the web community it is contributing to via notebooks, and exported HTML pages, there should be some kind of JSON format that can be IMPORTED as well. This would appear under the "NEW" dropdown. Just like you could create a new notebook from a template, you could point to a JSON file which defines a notebook's cells. When the JSON file is read and imported, the result is a new notebook which has it's cells created from the JSON data. Bonus points if you could choose to EXPORT your own notebook to this JSON format.
Describe the solution you'd like
Under "new" have in addition to templates a url field or "upload" which can point to a specially formatted JSON file which when read creates a new Notebook with the fields filled in from the JSON data.
Describe alternatives you've considered
without access to the Observable page creation api I don't know of a real alternative.
Additional context
This would allow folks to create Observable notebooks in other editors like VS Code.
Is your feature request related to a problem? Please describe. Right now the best and virtually only way to create notebooks is through the web UI. This is awesome, but in the spirit of Observable truly embracing the web community it is contributing to via notebooks, and exported HTML pages, there should be some kind of JSON format that can be IMPORTED as well. This would appear under the "NEW" dropdown. Just like you could create a new notebook from a template, you could point to a JSON file which defines a notebook's cells. When the JSON file is read and imported, the result is a new notebook which has it's cells created from the JSON data. Bonus points if you could choose to EXPORT your own notebook to this JSON format.
Describe the solution you'd like Under "new" have in addition to templates a url field or "upload" which can point to a specially formatted JSON file which when read creates a new Notebook with the fields filled in from the JSON data.
Describe alternatives you've considered without access to the Observable page creation api I don't know of a real alternative.
Additional context This would allow folks to create Observable notebooks in other editors like VS Code.