jupyter / nbconvert

Jupyter Notebook Conversion
https://nbconvert.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.74k stars 568 forks source link

CDN for Jupyterlab Light Theme? #817

Open b-gibbs opened 6 years ago

b-gibbs commented 6 years ago

Is there a CDN for the css for the current Jupyterlab light theme? And, if so, is there a way to point to it instead of the current 5.3.1 notebook theme? Not a huge difference, but Lab uses Source Code Pro as a font and slightly different syntax highlighting.

It would be great if there was a command line option for selecting a CDN or a local file before converting to html. Maybe there already is one I didn't see it in the docs?

Brad

SylvainCorlay commented 6 years ago

+1. It would be interesting to switch to JupyterLab's DOM structure and CSS for the HTML exporter.

bollwyvl commented 6 years ago

On Tue, Oct 16, 2018, 08:34 Sylvain Corlay notifications@github.com wrote:

+1. It would be interesting to switch to JupyterLab's DOM structure and CSS for the HTML exporter.

Indeed. Stopping short of a full commuter-like js-based renderer, it would be good to start seeing where post-bootstrap static rendering could get us.

The biggest problem I foresee is losing bootstrap's responsive stuff. There would also be the challenge of renderers... But this is a great transitional period to start dealing with that, and maybe get a path forward before jlab 1.0.

I for one would always want the option to host locally or embed all these assets, as everything goes away sometime (mathjax cdn, raw git, etc). I'd probably also consider offering a postCSSed "compatible" build d themes to get rid of the variables.