discourse/plugins/discourse-details
Jarek Radosz 8f2f9e6afa
DEV: Remove the <details> polyfill (#10260)
Per the linked site (http://mths.be/details) and https://caniuse.com/#feat=details the <details> element is supported since Chrome 12/Safari 6/Firefox 49/Edge 79. IE 11 doesn't handle them, but we dropped the support for that browser.
2020-07-20 13:18:00 +02:00
..
assets DEV: Remove the <details> polyfill (#10260) 2020-07-20 13:18:00 +02:00
config Update translations 2020-06-21 11:58:21 +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: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01: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