twibiral / obsidian-execute-code

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

Add ability to run code in edit mode #312

Open bitnom opened 9 months ago

bitnom commented 9 months ago

It is possible. The Execute Python plugin does it:

Selection_258

but note that currently, that plugin has an undesirable behavior with syntax highlighting: https://github.com/WilliamEchols/obsidian-execute-python/issues/2

ptxmac commented 8 months ago

Take a look at this section of the readme: https://github.com/twibiral/obsidian-execute-code?tab=readme-ov-file#running-in-preview-