Skip to content

Instantly share code, notes, and snippets.

View psychomelet's full-sized avatar
🎯
Focusing

L psychomelet

🎯
Focusing
View GitHub Profile
@psychomelet
psychomelet / obsidian-web-clipper.js
Last active March 27, 2024 02:56 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
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