salmund / trilium_better_include

(Trilium Notes) Make subnotes and include them faster
13 stars 2 forks source link

Installing into Trilium #2

Open perfectra1n opened 1 year ago

perfectra1n commented 1 year ago

Hey there!

Thanks for making this - I'm just trying to understand how to use this in Trilium.

I have the following note: image

I've configured the following "Script Launcher" image

But upon clicking the "Script Launcher" or using the configured shortcut alt+w, nothing seems to happen?

However, when running the script via this button: image

It does return some output (saying that the current Note isn't text, as expected...)

I'm incredibly dense, so I know I'm doing something wrong - would you be able to point me in the right direction? I tried also what the README.md says where you just drag and drop it into your Trilium Notes, and then hit alt+w, but that doesn't do anything for me either...

I'm on Trilium version 0.60.4 :)

salmund commented 1 year ago

Hello !

Yes, you have to select headers and then do alt+w to extract them, and include them at the same time. And it only works in a text note.

See here :

Animation

salmund commented 1 year ago

Use it like an alternative to outliners like Roam ; it's really the spirit of this plugin