The latest JupyterLab 4.1 pre-release includes a new functionality for loading custom CSS: https://github.com/jupyterlab/jupyterlab/pull/14743 The same feature was added in Notebook 7 for parity with the classic notebook: - https://github.com/jupyter/notebook/pull/6841 - https://github.com/jupyter/notebook/pull/6919 Now that this is available in JupyterLab, we should look into removing the custom handling here and use the one from JupyterLab instead. And maybe still keep the default to `True` in Notebook 7 (the default is `False` in JupyterLab). We can also keep the existing documentation in Notebook 7 for visibility.