Back to Discourse

README

plugins/discourse-details/README.md

2026.7.0-latest702 B
Original Source

discourse-details

Adds collapsible [details] sections to posts in Discourse.

The plugin registers the [details] BBCode tag, a composer toolbar button and rich editor support, and handles rendering these sections in emails and excerpts. It renders to the native HTML <details>/<summary> elements.

Usage

In your posts, surround text with [details=your summary] ... [/details]. For example:

text
   I watched the murder mystery on TV last night. [details=Who did it?]The butler did it[/details].

Issues

If you have issues or suggestions for the plugin, please bring them up on Discourse Meta.

License

MIT