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

Feature Request: Paste then upload #85

Open
pluveto opened this issue Apr 10, 2022 · 2 comments
Open

Feature Request: Paste then upload #85

pluveto opened this issue Apr 10, 2022 · 2 comments

Comments

@pluveto
Copy link

pluveto commented Apr 10, 2022

With custom upload program

For example:

upgit.exe ${filename}

program output url.

and insert that url into document.

@vezaynk
Copy link
Collaborator

vezaynk commented Apr 10, 2022

What is the use-case for this? If you're deploying your markdown files as a site anywhere, relative links should be fine enough. If you want images to be hosted in a location other than the one where the site is hosted, you should make the image uploads part of the deployment process and re-write the URLs by regex.

@pluveto
Copy link
Author

pluveto commented Apr 11, 2022

Most of the time, I just write a document simply. I hope I can paste the screenshot directly and get an available picture link instead of uploading it manually or using additional shortcut keys. Also, not all cases we have an additional replacement process. BTW, a simple regex replacement is not accuracy for example, when the picture link appears in the code fence. And when the file changes, the post-processing process needs to make more judgments

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

2 participants