##// END OF EJS Templates
scroll overflow-x on rendered markdown...
scroll overflow-x on rendered markdown treat markdown the same as output

File last commit:

r20985:4ab28718
r20987:3403c96b
Show More
Confined Output.ipynb
273 lines | 19.5 KiB | text/plain | TextLexer
/ tools / tests / Confined Output.ipynb

Test notebook for overflowing content

markdown image:

No description has been provided for this image

unconfined markdown image:

No description has been provided for this image
In [13]:
from IPython.display import Image, IFrame

Overflow image in HTML (non-embedded)

In [22]:
Image(url="http://placehold.it/800x200.png", embed=False)
Out[22]:
No description has been provided for this image

Overflow image:

In [4]:
Image(url="http://placehold.it/800x200.png", embed=True)
Out[4]:
No description has been provided for this image

Overflow with explicit height, width (retina):

In [23]:
Image(url="http://placehold.it/1800x200.jpg", embed=True, retina=True)
Out[23]:
<IPython.core.display.Image object>

Overflowing IFrame:

In [27]:
IFrame(src="http://ipython.org", width=900, height=400)
Out[27]:

Overflowing table:

In [21]:
import pandas as pd
pd.DataFrame([['column'] * 15])
Out[21]:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0 column column column column column column column column column column column column column column column