nre-learning / antidote-web

Web UI for the Antidote platform
Apache License 2.0
14 stars 14 forks source link

Jupyter kernels accessed via markdown forms in md lesson area #66

Open psychemedia opened 5 years ago

psychemedia commented 5 years ago

Putting this down as a marker for ways in which the markdown component of the lessons could be backed with interactive code executed using a pseudo-remote Jupyter kernel (by which I mean a kernel running in a container in the current users lab context; eg in a Jupyter server kernel launched via the lesson plan config) or where the md/html panel is being served more directly from a Jupyter server (I think scriptedforms serves HTML pages via a Jupyter server, erm maybe?)

This would allow Jupyter kernel backed code to be executed, and the code execution results displayed, from within the markdown scripted element of a lesson rather than a notebook.

There are several demonstrations in the wild of HTML based UIs fronting calls to remote Jupyter servers that process code in a Jupyer kernel environment and return results for display in the HTML page.

For example:

Mierdin commented 5 years ago

This is all really cool! Thanks for sharing - this would definitely give authors some options for sharing their snippets.