Hi! 

We've been having issues with .ipynb files that have Holoviews/Bokeh - these often take a long time to `quarto preview` in our JupyterHub, and also with our GitHub Action. We've encountered this before and likely chatted about it but wanted to revisit –

Here are a few example notebooks where we are seeing this (included in [_quarto.yml#L52-L58](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/_quarto.yml#L52-L58)):

- [LPDAAC_ECOSTRESS_LSTE__Kerchunk.ipynb](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/examples/LPDAAC/LPDAAC_ECOSTRESS_LSTE__Kerchunk.ipynb)
- [PODAAC_ECCO_SSH__Kerchunk.ipynb](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/examples/PODAAC/PODAAC_ECCO_SSH__Kerchunk.ipynb)
- [GESDISC_MERRA2_tavg1_2d_flx_Nx__Kerchunk.ipynb](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/examples/GESDISC/GESDISC_MERRA2_tavg1_2d_flx_Nx__Kerchunk.ipynb) > note that this is currently not included in our quarto site ([_quarto.yml#L54](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/_quarto.yml#L54)) because `quarto preview` was taking so long

A few more details about it in [this earthdata-cloud-cookbook issue](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/issues/102), where @betolink says:

> I think this may be because these notebooks use Holoviews/Bokeh. `HVPlot` injects a lot of Javascript and CSS into the notebook ([in the order of megabytes](https://raw.githubusercontent.com/NASA-Openscapes/earthdata-cloud-cookbook/main/examples/GESDISC/GESDISC_MERRA2_tavg1_2d_flx_Nx__Kerchunk.ipynb)) and perhaps Quarto is having issues parsing all of this.

Thanks in advance for any help!
2022-05-12T15:42:27Z
jules32
closed
quarto preview with .ipynb - issue parsing with Javascript/CSS? (Holoviews/Bokeh)
https://github.com/quarto-dev/quarto-cli/issues/857