What's the syntax to create a collapsable section on Discourse?

Different thing: what is the mark-up syntax for inserting this collapsible code?

Ah… figured it out

<details>
<summary> Click </summary>
...test
</details> 
2 Likes

It’s the HTML <details>, optionally with a <summary> section.

See the magic here

This stuff is hidden. Here’s how I wrote this block:

<details>
<summary> See the magic here </summary>

This stuff is hidden.  Here's how I wrote this block:

```html
<!-- ... and recurse ... -->
```

</details>
9 Likes