obsidian-custom-js
obsidian-custom-js copied to clipboard
An Obsidian plugin to allow users to reuse code blocks across all devices and OSes
right now I can either use `.js` files, which can't be edited directly in obsidian, or use `.md` files with js code in them, which do not have proper syntax...
To use `normalizePath()` in a plugin, you need to import it with `import { normalizePath } from 'obsidian';`. That doesn't work in a script (or at least an invocable one....
If a folder containing JS files is a hidden dot folder (`.customjs`, for example) then plugin can't detect files to load. Repro vault https://github.com/knopki/obsidian-custom-js-dot-dir-repro I think it's because of using...
I'd like to have able to have a bunch of small JS scripts in one place: the plugin settings. Each script would have a name and a large text box...
I create the scripts in VS Code and save them into my vault, and then immediately try to register it as an invocable script, it doesn't show up. It shows...
I clarified the section right under "Startup scripts". Hopefully it helps.
I added the folder with custom.js, but the plugin did not detect it. https://share.cleanshot.com/CcYFj7q1 You can find the file structure of a .js file by referring to its format. How...
Fixes #88
Hi, I want to do a thing in my vault and your plugin seems to do what i want. But i'm not a JS coder, so i need your help...