discourse/plugins/discourse-details
Joffrey JAFFEUX fd15562939
FIX: allows to use open attribute with details (#29116)
Supporting `open` allows to show a `details` block open by default.

Usage:

```
[details open]
my visible content
[/details]
```
2024-10-08 11:13:44 +09:00
..
assets FIX: allows to use open attribute with details (#29116) 2024-10-08 11:13:44 +09:00
config FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
spec FIX: allows to use open attribute with details (#29116) 2024-10-08 11:13:44 +09:00
test/javascripts FIX: allow quote-less details BBCode 2024-06-24 14:16:36 +02:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
plugin.rb FIX: elided content in email should always have an href 2024-05-22 15:38:18 +02:00
README.md for docs, normalize on space after code fence when specifying lang 2019-01-21 01:19:28 -08:00

discourse-details

HTML 5.1 <details> polyfill for Discourse.

NOTE: Does not work on IE9, but we don't support IE9 as of Jan 1 2016.

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].

Installation

Follow our Install a Plugin howto, using git clone https://github.com/discourse/discourse-details.git as the plugin command.

Issues

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

License

MIT