Let’s see if this works any better now:
details go here
This text will not be visible until you expand the spoiler.
it also works with blurred text
this is code
Yes this seems fine now that we have commonmark @Nick_Winter .
raw
[details=details go here]
This text will not be visible until you expand the spoiler.
[spoiler]it also works with blurred text[/spoiler]
```
this is code
```
[/details]