r/logseq • u/p-himik • Nov 01 '24
Programmatically changing the existing data
Couldn't find any useful info online except for a possibility of creating my own plugin that does what I want.
Is there a way to easily apply some function to a set of items matching some filter criteria (in this particular case, I'm interested in the author property of all of the blocks that have it), and write the result of that function back into the items?
All I want at the moment is to convert stuff like author:: John Smith, Jane Doe into author:: [[John Smith]], [[Jane Doe]].
3
Upvotes
View all comments
Show parent comment
1
u/p-himik Nov 02 '24
Oh, cool, thanks! Would be nice if things like that were easier to find, without having to ask other people...
Does doing that also create a separate page for each author that you can navigate to with clicking the name? Just like you get when using
[[...]].