mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.19k stars 29 forks source link

feat!: force users to explicitly enable code execution #276

Closed mfontanini closed 2 months ago

mfontanini commented 2 months ago

This changes the code snippet execution so that it is disabled by default and users need to opt in by either:

This aims to make running untrusted presentations more secure. You can always set the property in your config file if you only ever run your own presentations, but by default this prevents opening a presentation someone else wrote and accidentally executing code in one of the slides that does something malicious.