Skip to content

Instantly share code, notes, and snippets.

@philippschmitt
philippschmitt / DropboxPaperMarkdownDownloader.md
Last active May 9, 2022 19:50
Dropbox Paper Markdown (.md) Download Bookmarklet

Dropbox Paper Markdown (.md) Download Bookmarklet

I made this bookmarklet to download individual DB Paper documents in Markdown format, which is currently unsupported in Paper.

The interface only supports downloading individual documents in MSWord (.docx) format. While the global download option supports Markdown (.md) files, it doesn't work properly. I frequently find documents missing in the global dump.

Update, 04.06.16: Dropbox finally added the option to select Markdown as download format for individual docs. Which renders my bookmarklet useless, but is great!

Install & Use

(function() {
// jQuery(context).delegate(selector, types, fn)
// jQuery(context).delegate(selector, types, data, fn)
// jQuery(context).delegate(selector, {type: fn})
var delegate = jQuery.fn.delegate;
jQuery.fn.delegate = function(selector, types, data, fn){
if (jQuery.isPlainObject(types)){
for (var type in types) delegate.call(this, selector, type, undefined, types[type]);
}else{