Skip to content

docstring for Pluto cells #2354

Discussion options

You must be logged in to vote

Hi, Pluto just outputs the last expression in the block to the frontend.

From what I understand from what you write, you just want to have the output provide some information on what was done in the begin-end block so that you can hide the input and just see a meaningufl comment.

If this is the case, and especially if you are using a begin .. end block, you can just put your description string as the last instruction before the end. The remaining code will still be executed in global scope but just the string will be sent to the output.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mind6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants