discourse/plugins/discourse-details
Robin Ward 435a9913a4 REFACTOR: Replace global find with queryAll
In newer Embers jQuery is removed. There is a `find` but it only returns
one element and not a jQuery selector. This patch migrates our code to a
new helper `queryAll` which allows us to remove the global.
2020-10-29 14:45:51 -04:00
..
assets FIX: pretty text allow list (#10977) 2020-10-28 13:22:06 +11:00
config Update translations 2020-10-13 15:40:37 +02:00
spec/components FIX: Get only the correct collapse title in emails (#10228) 2020-07-13 18:49:36 -07:00
test/javascripts REFACTOR: Replace global find with queryAll 2020-10-29 14:45:51 -04:00
LICENSE
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