discourse/plugins/discourse-details
Sam Saffron 30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
..
assets FIX: lightbox wrapper within open details should show. 2019-03-08 15:07:22 -08:00
config Update translations 2019-04-24 15:02:04 +02:00
spec/components DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
test/javascripts DEV: migrate tests to async/await 2018-07-30 12:21:05 +02:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
plugin.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08: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