How to use observablehq/runtime on local .html notebooks? #47
Unanswered
bullybutcher
asked this question in
Q&A
Replies: 2 comments 1 reply
-
You can use Observable Notebook Kit to turn the notebook into a standalone web page that runs in the browser. If you want to develop a JavaScript module that you can use both in a notebook and in a React or other web application, you can write standard JavaScript in Observable Notebooks 2.0, and then import it as a module. Something like: import {MyComponent} from "./my-component.js"; |
Beta Was this translation helpful? Give feedback.
1 reply
-
Or are you asking how to import an existing Observable Notebook from observablehq.com? Because that is answered in #9 (comment). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an existing online notebook that I use
observablehq/runtime
on in order to wrap it as a React component. I have since downloaded that notebook into an .html file usingnotebooks download
and made major changes to it on Observable Desktop.As of now, I know there isn't a way to upload this to the browser version of Observable. Is there a way to use the
observablehq/runtime
on this .html notebook?Beta Was this translation helpful? Give feedback.
All reactions