twibiral / obsidian-execute-code

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

Adds support for enabling WSL Mode for the shell language only #303

Closed mihai-vlc closed 8 months ago

mihai-vlc commented 10 months ago

The main change is that settings.shellWSLMode was added and used in the src/executors/NonInteractiveCodeExecutor.ts file.

The change in esbuild.config.mjs was needed to make the watch mode work. As far as I can tell, obsidian expects that main.js file to be next to the manifest.json

twibiral commented 8 months ago

That's great, thank you a lot!