Apparently this isn't fully worked out but is needed for HTMLDependency support in Quarto.
|
# TODO: can we get htmlDependencies working in IPython? |
|
if renderer == "ipython": |
|
from IPython.core.display import ( |
|
display_html, # pyright: ignore[reportUnknownVariableType] |
|
) |
|
|
|
# https://github.com/ipython/ipython/pull/10962 |
|
return display_html( # pyright: ignore[reportUnknownVariableType] |
|
str(self), raw=True, metadata={"text/html": {"isolated": True}} |
|
) |
Apparently this isn't fully worked out but is needed for
HTMLDependencysupport in Quarto.py-htmltools/htmltools/_core.py
Lines 1962 to 1971 in ddbb499