Trilium-SingleFile icon indicating copy to clipboard operation
Trilium-SingleFile copied to clipboard

How to make the label automatically change to pageurl

Open SiriusXT opened this issue 1 year ago • 3 comments

How to make the label automatically change to pageurl, so that it can quickly jump to the browser to open it

SiriusXT avatar Sep 26 '23 03:09 SiriusXT

I'm assuming you mean instead of using the url attribute?

zerebos avatar Sep 26 '23 05:09 zerebos

Yes, I want to change the automatically added url attribute to pageUrl

I'm assuming you mean instead of using the url attribute?

SiriusXT avatar Sep 26 '23 06:09 SiriusXT

To be honest, I thought I had changed it back to pageUrl... I only realized it was url when you said something. I should fix that. I will also provide a script to fix/convert all existing ones and potentially add a setting.

zerebos avatar Sep 26 '23 13:09 zerebos

@SiriusXT Sorry this is so late, but I've finally released a new update that includes this change. You'll also find a runner in the plugin's settings to automatically update old #url to new #pageUrl though both will still work with the new renderer (for now).

Make sure to follow the updating instructions in the README!

zerebos avatar Jun 19 '24 04:06 zerebos