twibiral / obsidian-execute-code

Obsidian Plugin to execute code in a note.
MIT License
1.14k stars 67 forks source link

[FEATURE] Sharing python blocks across diferente notes #368

Open EARaceWalker opened 3 months ago

EARaceWalker commented 3 months ago

I've started using execute code with python and reusing blocks across other blocks using the {pre} tag (eg: a python block that translates an mp4 into a text transcript by using as input an mp4 file in Obsidian ). I wonder if 1 - Is it possible to reuse the main block across different notes? 2 - Can the code to be executed be executed from a button inside other note?