asg017 / dataflow

An experimental self-hosted Observable notebook editor, with support for FileAttachments, Secrets, custom standard libraries, and more!
https://alexgarcia.xyz/dataflow/
MIT License
402 stars 24 forks source link

Remove display of result on `viewof` #3

Closed nicola closed 3 years ago

nicola commented 3 years ago

Cells that have viewof are meant to be view and it would be great to remove display of their result (it makes the notebook much cleaner)

asg017 commented 3 years ago

This is a reasonable request! I will include it in the next dataflow release in the next day or so.

asg017 commented 3 years ago

This is now the default for dataflow as of v0.0.4, the viewof values cells are not displayed. Same with mutable cells as well!

md`# #3`

viewof text = html`<input type=text value="yo!">`

md`Text: **${text}**`

image