markdown-insert-screenshot
A lightweight utility for saving interactive screenshots to relative file paths
markdown-insert-screenshot
A lightweight Atom plugin for inserting interactive screenshots into Markdown files.
How to use it
- Write the line to display the image you'd like to insert, i.e.
![my screenshot](../figures/my_screenshot.png)
. - Highlight the relative path with your cursor, i.e.
../figures/my_screenshot.png
. - Run
markdown-insert-screenshot:screenshot-to-relative-destination
from the Command Palette or invoke the keymapcmd-@
. - At this point, an interactive cursor will appear; switch to your desired window, drag-and-capture your desired selection, then release. The screenshot will be saved to your specified destination and immediately available in a Markdown preview tab.