diff --git a/news/changelog-1.8.md b/news/changelog-1.8.md index a7e497e9fa..8094d67d03 100644 --- a/news/changelog-1.8.md +++ b/news/changelog-1.8.md @@ -67,6 +67,7 @@ All changes included in 1.8: ### `jupyter` - ([#12753](https://github.com/quarto-dev/quarto-cli/issues/12753)): Support change in IPython 9+ and import `set_matplotlib_formats` from `matplotlib_inline.backend_inline` in the internal `setup.py` script used to initialize rendering with Jupyter engine. +- ([#12839](https://github.com/quarto-dev/quarto-cli/issues/12839)): Support for `plotly.py` 6+ which now loads plotly.js using a cdn in script as a module. ## Other fixes and improvements diff --git a/src/core/jupyter/widgets.ts b/src/core/jupyter/widgets.ts index 668685114e..d208bb5fb1 100644 --- a/src/core/jupyter/widgets.ts +++ b/src/core/jupyter/widgets.ts @@ -190,9 +190,29 @@ function isWidgetIncludeHtml(html: string) { } function isPlotlyLibrary(html: string) { - return /^\s*