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

adds image paste from clipboard (upload to github) #609

Closed
wants to merge 2 commits into from

Conversation

D4ryus
Copy link

@D4ryus D4ryus commented Nov 10, 2014

will check the clipboard if a image was pasted, if not it will do the
default paste operartion (paste the text). But if a image is found it
will ask the user for the path to paste it to, the path is relative to
the repository's root directory.
So for example ur github repository lookes like this:

/ (Repository Root)
|
|--img
| |--myImage.png
| |--AnotherImage.png
| '...
|
'--md_files
|--somefile.md
'...

and u want to upload a image to the img folder, you would enter
"img/myUpload.png" and myUpload.png would be added to the img folder.
Be sure to also enter the image type. If u supply a path to an already
existing image it will be overwritten.

d4ryus added 2 commits November 10, 2014 09:21
will check the clipboard if a image was pasted, if not it will do the
default paste operartion (paste the text). But if a image is found it
will ask the user for the path to paste it to, the path is relative to
the repository's root directory.
So for example ur github repository lookes like this:

/  (Repository Root)
|
|--img
|  |--myImage.png
|  |--AnotherImage.png
|  '...
|
'--md_files
   |--somefile.md
   '...

and u want to upload a image to the img folder, you would enter
"img/myUpload.png" and myUpload.png would be added to the img folder.
Be sure to also enter the image type. If u supply a path to an already
existing image it will be overwritten.
@D4ryus D4ryus closed this Nov 18, 2014
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

Successfully merging this pull request may close these issues.

None yet

1 participant