BoostNote.next-local icon indicating copy to clipboard operation
BoostNote.next-local copied to clipboard

Run code snippet

Open Rokt33r opened this issue 5 years ago • 3 comments

Original thread: https://www.reddit.com/r/Boostnote/comments/hvp04e/can_you_run_script_from_boostnote/

It would be nice to provide some way to run code in code fences. It should be easy to run it from electron.(But dangerous) Please share your thoughts. If you want to have this feature, please react with 👍

Rokt33r avatar Jul 29 '20 17:07 Rokt33r

This was actually my BoostIO/BoostNote.next#1 feature I was looking for in a note taking app, but I couldn't find it.

Huge supporter of the idea. I use Google Chrome Dev Tools a lot every day as a simple sandbox for testing javascript snippets, being able to replace it with the place I store my snippets would be great.

I'm not sure if sandboxing code is feasible or terribly necessary, but for reference, one of the few potentially appropriate and updated sandboxes I found was https://github.com/patriksimek/vm2.

TimeBomb avatar Aug 02 '20 04:08 TimeBomb

I too think this is a great feature, it would be really aswome to imbed shell scripts and execute them directly

DavidKittleSEL avatar Jul 15 '21 23:07 DavidKittleSEL

Transferred to the local app repo since I don't think we can support it from the cloud space.

Rokt33r avatar Aug 23 '21 10:08 Rokt33r