Open f0k opened 4 months ago
Ok, I've added a very basic jupyterlab_rise
detection: It checks whether the window title is "Rise". This is the only part that remains from the original web page as delivered by the server, everything else in the DOM seems to be replaced via javascript after loading the page, and would be unreliable to test for. It will break plugin detection if someone deliberately titled their reveal.js (or other) presentation "Rise", but I guess we could live with that?
This adds a plugin for jupyterlab_rise. The current RISE plugin is not compatible with it. It is not very smart, instead of trying to access the underlying reveal.js, it steps through the slides and observes whether the slide anchor in the window URL was updated, otherwise it assumes we reached the end.
It requires jupyter to be invoked with
jupyter lab
(notjupyter notebook
), and then to be passed an URL of the form:http://server:port/rise/your_path/your_notebook.ipynb?token=your_token
Works for me, maybe it will be useful for others!
closes #325