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

Support for local folder #10

Open
Jandev opened this issue Dec 10, 2019 · 5 comments
Open

Support for local folder #10

Jandev opened this issue Dec 10, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@Jandev
Copy link

Jandev commented Dec 10, 2019

Loving the idea of this extension. Thought of creating it myself until I stumbled across yours.

I would personally like to have the clipboard image stored inside some local folder, like /images/ or /img/. This way the images can be pushed to my webhost and I'm not relying on some third party for hosting the images.

@njleonzhang
Copy link
Owner

njleonzhang commented Dec 10, 2019

@Jandev I think there are lots of markdown editors that support local folder.

@Jandev
Copy link
Author

Jandev commented Dec 10, 2019

Very true indeed.
Figured it might be a nice addition to this extension as the basics are pretty much the same (and I personally love to use VS Code for writing markdown 😀)

@njleonzhang
Copy link
Owner

njleonzhang commented Dec 10, 2019

You are a special user 😂 . I want to do something different, so I have not implement your feature.

@njleonzhang njleonzhang added the enhancement New feature or request label Dec 10, 2019
@njleonzhang
Copy link
Owner

it's not difficult, just implement a special uploader for local folder storage, you can follow current code to implement yourself and submit a PR.

https://github.com/njleonzhang/vscode-extension-mardown-image-paste/tree/master/src/CdnUploader

@Jandev
Copy link
Author

Jandev commented Jan 30, 2020

Will do.
Sounds like a nice excercise for me. Hopefully find some time to do this soonish.

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

No branches or pull requests

2 participants