jupyterlab-contrib / rise

RISE: "Live" Reveal.js JupyterLab Slideshow Extension
BSD 3-Clause "New" or "Revised" License
157 stars 16 forks source link

Unable to load external stylesheets #87

Open tz1112 opened 2 weeks ago

tz1112 commented 2 weeks ago

Applying external css stylesheets does not work, neither the default rise.css nor a custom stylesheet (same name as the notebook file, placed in the same folder) are loaded correctly. While debugging this issue, I noticed that the file path construction might be incorrect (see the additional '/' right before the stylesheet filenames 'rise.css' and 'test.css'; screenshot is taken from developer console of the browser).

Screenshot from 2024-06-19 14-38-23

Relevant code snippet might be at rise.ts:925, where the paths for both elements are built using the same method.