Skip to content

Instantly share code, notes, and snippets.

@ransurf
ransurf / readme.md
Created November 29, 2022 08:59
Readwise to Obsidian Export Settings
---------------------------- FILE NAME ----------------------------

📥 {{title}}

---------------------------- PAGE METADATA ----------------------------

Status:: #📥/🟨
Tags:: #readwise #i/{{category}}
Links::
@ransurf
ransurf / Zettelizer.js
Created November 29, 2022 08:42
Eleanor's Zettelizer script but modified for my workflow
module.exports = async (params) => {
console.log("Starting...")
console.log(params);
const currentFile = params.app.workspace.getActiveFile();
if (!currentFile) {
new Notice("No active file.");
return;
}
console.log("Found active file: ", currentFile.basename);