Skip to content

Copy/Paste Image from Clipboard #7573

@Btibert3

Description

@Btibert3

Description

I attempted a flow that I use in Google Colab all the time: in a markdown cell I paste from the clipboard an image that will render in the notebook via ![image.png](data:image/png;base64, ....

In molab, it appears that the image is uploaded to a modal volume, but that volume is not the same "current directory" for the notebook.

My preference is the Colab flow which is base64, but if we can share the molab notebook with image files properly included, that obviously works too.

Suggested solution

Copy + paste an image from my local clipboard, and have it rendered as a base64 image via a markdown cell. Only the image is shown in rendered form, the raw markdown/encoding is not shown unless in an edit mode.

Are you willing to submit a PR?

  • Yes

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmolabIssues specific to molab

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions