✪ DB Img
Convert Dropbox-Link in clipboard to Public-Link and insert as Markdown image tag.

Script key: Convert Dropbox-Link in clipboard to Public-Link and insert as Markdown image tag.

Posted by @goonfoot

Install

Details

Label ✪ DB Img
Voice Over Convert Dropbox-Link in clipboard to Public-Link and insert as Markdown image tag.
Script
// Convert Dropbox-Link in clipboard to Public-Link and insert as Markdown image tag.
var re = /www\.dropbox\.com/;

var sel = getSelectedText();

var newstr = getClipboard().replace(re, "dl.dropboxusercontent.com");

setSelectedText("![](" + newstr + ")  ");




Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus