Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] A way to hide markdown blobs? #893

Open
liar666 opened this issue Mar 5, 2024 · 0 comments
Open

[Improvement] A way to hide markdown blobs? #893

liar666 opened this issue Mar 5, 2024 · 0 comments

Comments

@liar666
Copy link

liar666 commented Mar 5, 2024

Hi,

Someone sent me an IPython notebook with a markdown cell that includes an image. The data for this image is included as a blob inside the cell.

In EIN, the whole data blob appears, as seen in the following screenshot:

screenshot_2024-03-05-10 38

As the picture is quite big, the data blob makes the whole IPython notebook unusable. The image data blob represents more than 90% of the content of the notebook. Moving around the code/cells is awful and takes ages.

I couldn't find a way to make things usable, apart removing the image (which is not a solution in my case as the Notebook is not mine and the main developer want to keep the image inside, since it works perfectly in Jupyter & ggColab). All the discussions about adding folding to non output cells (in the issues or forums like SE/SO) seems to lead to too much difficulties for the developers.

Is there a simple stupid solution to hide the blob content I couldn't find myself?

Would it be possible to detect such blobs and display only the first line/few bytes?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant