discourse/plugins/discourse-details
Robin Ward 71d37953d5 REFACTOR: Import QUnit and related helpers rather than globals
We used many global functions to handle tests when they should be
imported like other libraries in our application. This also gets us
closer to the way Ember CLI prefers our tests to be laid out.
2020-10-07 11:50:49 -04:00
..
assets DEV: apply coding standards to plugins (#10594) 2020-09-04 13:51:53 +02:00
config Update translations 2020-09-29 13:01:52 +00:00
spec/components FIX: Get only the correct collapse title in emails (#10228) 2020-07-13 18:49:36 -07:00
test/javascripts REFACTOR: Import QUnit and related helpers rather than globals 2020-10-07 11:50:49 -04:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
plugin.rb DEV: Remove the <details> polyfill (#10260) 2020-07-20 13:18:00 +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