obsidian-execute-code icon indicating copy to clipboard operation
obsidian-execute-code copied to clipboard

Display only the output of a codeblock and hide the code

Open Wellidontcare opened this issue 2 years ago • 0 comments

Hello, thanks for the great plugin, I've been using it for a while now.

Would it possible to only show the output of a code cell, and hide the original code?

This would allow for easily embedding auto generated figures, displaying arbitrary information etc.

We have run-python already, maybe a display-python block (as well as for the other supported languages) could be added.

The block would show the code in live-edit/edit mode and would execute plus display just the output/magic commands when reading mode is toggled.

If something like this is already possible I'd love to hear it!

Wellidontcare avatar Mar 10 '23 15:03 Wellidontcare