discourse/plugins/spoiler-alert
2026-04-27 10:41:53 +02:00
..
assets FIX: rich editor spoiler on firefox (#36378) 2025-12-02 09:46:39 -03:00
config I18N: Update translations (#39112) 2026-04-08 12:04:11 +02:00
spec DEV: Restore and fix ProseMirror+spoiler spec (#39543) 2026-04-27 10:41:53 +02:00
test/javascripts DEV: Remove plugin names from test titles (#39418) 2026-04-21 19:19:52 +02:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: Remove the last transpile_js mentions (#26263) 2024-03-20 15:32:37 +01:00
README.md UX: Removed a redundant git pull statement from the docs (#30801) 2025-01-16 11:13:51 +00:00
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

discourse-spoiler-alert

https://meta.discourse.org/t/discourse-spoiler-alert/12650/

Spoiler plugin for Discourse highly inspired by the spoiler-alert jQuery plugin.

Usage

In your posts, surround text or images with [spoiler] ... [/spoiler]. For example:

I watched the murder mystery on TV last night. [spoiler]The butler did it[/spoiler].

Installation

  • Add the plugin's repo url to your container's app.yml file
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
  • Rebuild the container
cd /var/discourse
./launcher rebuild app

License

MIT