Collabsible code in Observable Framework.

When entering a Javascript code block in Framework with the echo option, is there a way for the code to be collapsible? I’d envision something like

```js echo collapsible
  Plot.plot({ /* code to make a groovy plot */})
```

could produce something like this:

A groovy plot with code hidden below.

Hopefully, this would show typeset code?

related issue collapsible echos · Issue #833 · observablehq/framework · GitHub

2 Likes

Thanks @Fil! I upvoted the issue.