discourse/plugins/discourse-details
Jarek Radosz 21e8a33177
DEV: Clean up QUnit tests (#13328)
* DEV: Use `query` helper instead of `queryAll()[0]`
* DEV: Replace `queryAll().length` w/ `exists()`/`count()`
* DEV: Use `exists()` instead of `count() > 0`, `count() === 0`
* DEV: Use `count()`/`exists()` instead of `find().length`
2021-06-08 17:54:12 +02:00
..
assets FIX: pretty text allow list (#10977) 2020-10-28 13:22:06 +11:00
config Update translations (#13136) 2021-05-25 15:29:11 +02:00
spec/components FIX: Get only the correct collapse title in emails (#10228) 2020-07-13 18:49:36 -07:00
test/javascripts DEV: Clean up QUnit tests (#13328) 2021-06-08 17:54:12 +02:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
README.md for docs, normalize on space after code fence when specifying lang 2019-01-21 01:19:28 -08:00
plugin.rb DEV: Remove the <details> polyfill (#10260) 2020-07-20 13:18:00 +02:00

README.md

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