Logseq-style "macros" in Obsidian?

Can’t seem to edit the original message; just wanted to add that this idea seems similar to what I’d like to be able to do: