discourse/plugins/discourse-details
Phil Pirozhkov 493d437e79
Add RSpec 4 compatibility (#17652)
* Remove outdated option

04078317ba

* Use the non-globally exposed RSpec syntax

https://github.com/rspec/rspec-core/pull/2803

* Use the non-globally exposed RSpec syntax, cont

https://github.com/rspec/rspec-core/pull/2803

* Comply to strict predicate matchers

See:
 - https://github.com/rspec/rspec-expectations/pull/1195
 - https://github.com/rspec/rspec-expectations/pull/1196
 - https://github.com/rspec/rspec-expectations/pull/1277
2022-07-28 10:27:38 +08:00
..
assets DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
config FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
spec/components Add RSpec 4 compatibility (#17652) 2022-07-28 10:27:38 +08:00
test/javascripts DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +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: Transpile all plugin js by default (#17175) 2022-06-21 22:07:10 +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