5 ms·
You can upload it to cocalc.com, then share it publicly, then click the embed link to get a version that is suitable for embedding in an iframe...
by williamstein 6y ago
You can upload it to cocalc.com, then share it publicly, then click the embed link to get a version that is suitable for embedding in an iframe...
- grizzles 6y agoIt might be a good strategic move to publish a React component to do this for the non iframe solution enthusiasts out there. It would be good to see people start using SageMath notebooks where they otherwise might be using Katex or Mathjax today. It could always have an "Open/Run on CoCalc" link as part of it.
- williamstein 6y agoI probably should, since the underlying renderer mentioned above is actually implemented using React (it takes as input JSON describing a notebook and renders it, entirely on the frontend). Also, in case it isn't clear, these days "Sage notebook" just means "Jupyter notebook with the SageMath kernel"... since "the Sage notebook" (=the SageMath project's predecessory to Jupyter, but written in 2007) is basically deprecated now in favor of the official Jupyter notebook project.