I was able to run the code in the console and it worked. The only problem is the button that appears but they are dead. I’m not able to play with them.
@mark1nhu and @mrjackphil → Thank you very much for your contribution → this is the last stage for my complete migration from Roam Research to Obsidian!
I will continue trying to make the buttons alive and also to transforme this code in a plugin. I saw many plugins in the console that load automatically. It is just a metter to create one based on the those codes.