discourse/plugins/discourse-details
Martin Brennan 1620a74bd4
DEV: Update discourse-details description and README (#40786)
The plugin metadata and README described it as an "HTML5.1 Details
polyfill" with an IE9 note, which is long obsolete now that
`<details>/<summary>` is universally supported. The plugin is really the
implementation of the [details] BBCode feature (markdown rule, composer
button, rich editor support, email/excerpt rendering).

Update the about line and README to describe what the plugin actually
does, and drop the stale standalone-repo installation instructions since
it ships bundled with core.
2026-06-12 07:59:18 +10:00
..
assets UX: keep rich editor details open but serialize as closed (#38369) 2026-03-11 10:52:07 -03:00
config I18N: Update translations (#37917) 2026-02-25 09:42:49 -05:00
spec DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
test/javascripts UX: keep rich editor details open but serialize as closed (#38369) 2026-03-11 10:52:07 -03:00
LICENSE Update LICENSE (#31217) 2025-02-27 00:16:59 +01:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: Update discourse-details description and README (#40786) 2026-06-12 07:59:18 +10:00
README.md DEV: Update discourse-details description and README (#40786) 2026-06-12 07:59:18 +10:00
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

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:

   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