Hi everyone !
I’m trying to write a small reporting functionality in python that can display in JupyterLab (and in the browser). Essentially, for our python tool, we want to dynamically generate a web page (using only CSS and HTML), and then allow users to display it in a notebook cell. Here’s what it currently looks like:
This works, which is exciting ! The problem comes in, though, if I try to ship the CSS myself – rather than fetching it from the web. In this case, it seems to find the style sheets (i.e., the paths are correct when I inspect them in the web console), but it won’t recognize any of the rules they contain. What’s puzzling to me is why this fails, but why fetching the style sheets from the internet works just fine.
I notice there are similar keywords between this question and Static content for jupyterlab extension, but I couldn’t see the immediate connection.
Any insight would be really appreciated !