Currently it requires ?notebook=hash but it could also take the notebook id from a path in the URL, to allow using mini.js with notebooks that have index.html as an asset.
E.g. we could fall back to:
var notebook = window.location.pathname.replace(/\/notebook.R\/([a-z0-9]+)\/index.html/, '$1'),
Further
the asset might not be index.html
for generality, the ID could be specified via a hidden HTML tag or JS (not sure of the use case though)
Currently it requires
?notebook=hash
but it could also take the notebook id from a path in the URL, to allow using mini.js with notebooks that have index.html as an asset.E.g. we could fall back to:
Further