slides icon indicating copy to clipboard operation
slides copied to clipboard

Please add a per-block option to disable code block execution

Open hvhaugwitz opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. I want to ensure that some code blocks are not executable, not even by accident (for example when presenting potentially dangerous commands like rm).

Describe the solution you'd like A per-block option to disable code execution.

Describe alternatives you've considered Not specifying the language prevents execution (error message: Error: could not parse code block) but lacks syntax highlighting.

hvhaugwitz avatar Oct 09 '22 19:10 hvhaugwitz

Related #287

vext01 avatar Apr 16 '24 14:04 vext01

Hey this makes sense to me. Perhaps we can include a suffix on the language / code block to avoid execution.

maaslalani avatar Apr 16 '24 14:04 maaslalani