question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Copy pasting image directly from clipboard to markdown file

See original GitHub issue

Describe your feature request

Is it possible to directly copy-paste image from clipboard to markdown file using MarkText? Is this already implemented?

Steps:

  • Copy image to clipboard (using Ctrl+C, Windows’ Snipping Tool/Screenshot, or Mac’s Cmd+Shift+4)
  • Go to a markdown file in MarkText
  • Ctrl+V
  • File is automatically uploaded or stored in an asset directory (relative to the markdown file or in a dedicated directory for MarkText)
  • Link is automatically pasted to markdown file: ![xxx](link/to/image)

What problem does this feature solve? [optional]

I often add screenshot of math formula, illustration, etc. to my note and it’s a pain to manually upload things every time I add them. This is the only thing that ties me to Evernote…

Additional context [optional]

I’m a mid-level javascript developer. I’d be happy to contribute for this feature if the maintainers are busy doing other things. If any maintainer can point me to the right files/resources, it’d be really helpful.

Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:14
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Jocscommented, Jan 24, 2019

@dotm It’s a useful feature, we’ll take it into consideration when we refactor muya.

0reactions
simondebbarmacommented, Jan 7, 2022

Just passing by, trying to figure out how to implement this on my own on a personal project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Paste a clipboard image file into markdown - IntelliJ IDEA Guide
You can paste a PNG image from the clipboard directly into a markdown file.
Read more >
Paste Image To Markdown. - Visual Studio Marketplace
Paste Image To Markdown From system clipboard. Installation. Launch VS Code Quick Open ( Ctrl+P ), paste the following command, ...
Read more >
Paste link to image in clipboard when editing Markdown
The function SaveFile will inspect the clipboard with xclip . If there is an image file, it will be saved to img/imageN.<ext> ,...
Read more >
Getting Images into Markdown Documents and Weblog Posts ...
Markdown Monster makes this process very easy — simply copy an image to the clipboard and then paste. MM will prompt to save...
Read more >
Copy and paste an image from clipboard to Rmarkdown / .rmd ...
Then i wrote a wrapper with library(reticulate) to run the python code from R. Thats what covers the "right part" of the gif:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found