discourse/plugins/spoiler-alert
Discourse Translator Bot 6791eb1a94
Update translations (#26030)
2024-03-05 16:47:46 +01:00
..
assets DEV: Use `service:` lookups instead of `:main` (#25402) 2024-01-24 15:59:44 +01:00
config Update translations (#26030) 2024-03-05 16:47:46 +01:00
spec
test/javascripts Fix spoiler-alert imports (#24066) 2023-10-23 15:14:58 -06:00
README.md
plugin.rb FEATURE: Admin plugin list redesign (#24363) 2023-11-21 09:37:11 +10:00

README.md

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
git pull
./launcher rebuild app

License

MIT