0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/plugins/discourse-details
2026-07-30 11:46:06 +02:00
..
assets DEV: Drop unused decorateCooked from discourse-details (#41426) 2026-07-03 17:18:20 +01:00
config I18N: Update translations (#42155) 2026-07-30 11:46:06 +02:00
spec DEV: Remove rich_editor site setting (#41873) 2026-07-23 19:49:20 -03:00
test/javascripts DEV: Remove rich_editor site setting (#41873) 2026-07-23 19:49:20 -03:00
LICENSE
package.json
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

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