This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: Promise.all([ | |
import('https://unpkg.com/turndown?module'), | |
import('https://unpkg.com/joplin-turndown-plugin-gfm?module'), | |
import('https://unpkg.com/@tehshrike/readability?module'), | |
]).then(async ([{ | |
default: Turndown | |
}, TurndownPluginGfm, { | |
default: Readability | |
}]) => { | |
// Use destructuring to extract gfm (and any other plugins you need) directly from turndownPluginGfm |