-
Notifications
You must be signed in to change notification settings - Fork 645
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
Paste Image from clipboard #429
Comments
@cropse This is an interesting idea, definitely worth a try. I can think of some challenges:
|
It would be great if i could oauth into github and then be uploading them into https://user-images.githubusercontent.com/, then the image URL can populate automagically.... like this: |
Uploading to Github (or any public web content storage) is one way of serving the image. This also poses a risk that web content is loaded from different servers. CORS is enabled for images but you will expect users to have direct and stable network access to Github, which might be a problem for users behind firewalls or on internal networks. More often, I see markdown writers serve images locally (e.g. Gitlab, wiki, blog). If we are going to implement this feature. We can start from mapping local file path to relative URI. There is an open PR #486 that handles local file mapping that we can leverage. |
There is this plugin which I cannot get to work, but it I guess it would be a starting point. |
Hi:
It might be a convenience feature when user wants to paste images in Markdown immediately, with Pillow package would be feasible?
There is few modify I expect:
If it is a great feature good to have, I can take time to implement it, How about that?
The text was updated successfully, but these errors were encountered: