in your user settings enable “Prefer Markdown input where available.” then the text in the following code block will create the spoiler below.
<details><summary>Title</summary>Content</details>
Thx. That is super helpful!