discourse/plugins/discourse-details
Godfrey Chan c34f8b65cb
DEV: Rename I18n imports to discourse-i18n (#23915)
As of #23867 this is now a real package, so updating the imports to
use the real package name, rather than relying on the alias. The
name change in the package name is because `I18n` is not a valid
name as NPM packages must be all lowercase.

This commit also introduces an eslint rule to prevent importing from
the old I18n path.

For themes/plugins, the old 'i18n' name remains functional.
2023-10-18 11:07:09 +01:00
..
assets DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
config Update translations (#23099) 2023-08-15 21:24:57 +02:00
spec/components DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
test/javascripts DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
plugin.rb FIX: Hide core plugins from the admin Plugins list (#23328) 2023-08-31 10:01:01 +10: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