Re:Show HN: Starboard – Fully in-browser literate notebooks ...
by rguiscard on Tuesday August 04, 2020 @02:55AM
(#24047399)
It is indeed a good work. The barebone demo is an empty notebook. How could I loaded a locally saved notebook ? Should I loaded it through javascript API or embed it in the index.html ? Thanks.
[ Parent
| on HN ]
Re:Show HN: Starboard – Fully in-browser literate notebooks ...
by rguiscard on Tuesday August 04, 2020 @05:29AM
(#24048228)
To answer my own question, just set window.initialNotebookContent before calling starboard-notebook.js.
Re:Show HN: Starboard – Fully in-browser literate notebooks ...
by protoduction on Tuesday August 04, 2020 @09:27AM
(#24049712)
Correct, or you can set it as a property on the starboard-notebook web component HTML element.