zerebos / Trilium-SingleFile

An addon for Trilium to easily import SingleFile archives.
Apache License 2.0
43 stars 3 forks source link

How to make the label automatically change to pageurl #2

Closed SiriusXT closed 4 months ago

SiriusXT commented 1 year ago

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

zerebos commented 1 year ago

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

SiriusXT commented 1 year ago

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

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

zerebos commented 1 year ago

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 commented 4 months ago

@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!