I am trying to figure out how to run JavaScript code in Obsidian

In this [Hotkeys] Assigning "longer sequence of the key combinations" - #5 by Yurcee post, @Yurcee very nicely described how this can be achieved. Give it a try.

It will not solve all your challenges, but it will answer one…

Cheers, Marko :nerd_face: