Awesome
WebClip Markdown for Obsidian
WebClip Markdown for Obsidian
is a Web Clipper for Obsidian, a Firefox extension.
It converts web pages to Markdown format and saves them in Obsidian.
Note that images and Twitter tweets are still URLs, so they will no longer be available if the original data is deleted.
The Obsidian plugin Media Sync can be used to save images locally.
Bookmarklet
This Bookmarklet can be used to convert web pages into Markdown format and save them in Obsidian.
The bookmarklet has been tested with Google Chrome, Safari and Firefox on Mac; Microsoft Edge only works with full screen (isFullPage = true).
You can customize it by modifying the following parts of the Bookmarklet.
/* when 'true', select full page */
const isFullPage = false; // when true, select full page
/* Optional vault name */
const vault = ""; // Vault name can be specified
/* Optional folder name such as "Clippings/" */
const folder = ""; // can specify default folder
/* Optional skip URL and classes */
const skipClasses = []; // Elements can be skipped using a combination of URL and class name
/* example
const skipClasses = [
{
url: "https://example.com",
classes: [
"module--detail-morenews",
"module--share"
],
},
{
url: "https://news.example.com",
classes: ["snsButton", "articleButton"],
},
*/
iOS Shortcut
To create an iOS shortcut, follow the steps below.
- From Create New Shortcut, select "Execute JavaScript on Web Page" and paste the following script according to your purpose
- ios-shortcut.js
- Select the body of the web page, convert it to Markdown and save it in Obsidian
- ios-shortcut.js
- Turn on "Show in shared sheets" in the app settings
- Modify the script entry to "Enter shortcut".
- Turn on "Run scripts" in the shortcut details of the settings
- Open the web page in Safari and select the shortcut from the Share button to save the web page in Obsidian as Markdown
The customization procedure is the same as for Bookmarklet.