Is there a way to change the position of "Hide Details"?

Hi, Discourse Markdown is very powerful.

Only a small feature I’m wonder whether it can do.

As we see must be on the very first position to take effect.

Summary

This text will be hidden

But I usually write things in this way

  • A

  • B

    • B1

    • B2

Summary

This text will be hidden

  • B3

  • C

With code being:

* A

* B

   * B1

   * B2
[details="Summary"]
This text will be hidden
[/details]


   * B3

* C

Some times the notes that I want to hide is in like B2. How could I just make it work rightly?

This seems to work

* A

* B

   * B1

   * B2
        <details><summary>Summary</summary>This text will be hidden</details>


   * B3

* C

Produces:

  • A

  • B

    • B1

    • B2

      SummaryThis text will be hidden
    • B3

  • C

8 Likes