Hacker News new | ask | show | jobs
by itsjloh 1548 days ago
I'm a recent Obsidian convert, absolutely love it and its the only note taking app that I've managed to stick to past a few weeks. How do you use custom scripts in it? I'm aware you can make plugins and things for it but I'd love to be able to write up a script or two to update some shortcodes for some nice weekly stats in a few places if possible
2 comments

I have some examples of weekly stat graphing and Rollups of in ticked todos in completed action notes in this repo: https://github.com/tot0/ObsidianPPV The week template in templates folder is the most fleshed out now, other time periods are WIP. It leverages customjs plug-in and the js folder in the vault for helpers. The data model implemented in this vault is August Bradley’s PPV, the reviews cycles it emphasizes really help with regular re-orientation on changing priorities and not letting stuff slip.
There is the full-on dataview plugin, lets you do anything in JS. I just use the tasks plugin query engine, which is plenty for me, but it sounds like you would need dataview. The forum has loads of very well developed examples.