---------------------------- FILE NAME ----------------------------
📥 {{title}}
---------------------------- PAGE METADATA ----------------------------
Status:: #📥/🟨
Tags:: #readwise #i/{{category}}
Links::
This file contains 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
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); |