twibiral / obsidian-execute-code

Obsidian Plugin to execute code in a note.
MIT License
994 stars 61 forks source link

Run current block #319

Open einarpersson opened 6 months ago

einarpersson commented 6 months ago

I did not find a command that simply runs the current code block (where cursor is placed). I don't know if I'm simply blind?

  1. Create a new code block
  2. Write something in it
  3. Open command palette and Run the current code block (4. Configure it to a keyboard shortcut)

Purpose: Not having to press buttons with the mouse, i.e. just use keyboard.