twibiral / obsidian-execute-code

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

Feature request: Deno Input working for Typescript code block #269

Open FelixGute opened 1 year ago

FelixGute commented 1 year ago

Deno is an alternative js runtime to Node that can also run Typescript natively, and has the ability to get user inputs in the console (see docs).

Execute Code can run Deno by setting node path or ts-node path to deno run and it runs fine, except that input prompts doesn't work.

Is it possible to make inputs/prompts work when using Deno to execute Javascript/Typescript?