It’d be nice if Markdown’s “block” syntaxes could work inside <details> without requiring an empty line. I frequently run into this with code segments. For example, this fairly straight-forward syntax is doesn’t render as I’d expect:
<details>
```
# not code
```
</details>
```
# not code
```
While I most commonly hit this with code blocks (given that we run a programming language forum), it’s true of other markdown “block” syntaxes:
For example, headers
# are not headers
This is the code for this block:
<details><summary>For example, headers</summary>
# are not headers
This is the code for this block:
```md
(stack overflow)
```
</details>
And same for block quotes
> this should be a quote, I'd expect