Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A plugin for discourse to hide spoilers behind the spoiler-alert jQuery plugin
JavaScript Ruby CSS
Branch: master

Merge pull request #12 from gwwar/image_and_text_spoiler

Adds support for applying spoiler effects to both images and text
latest commit ac9945b2b6
@ZogStriP ZogStriP authored

README.md

discourse-spoiler-alert

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

License

MIT

Something went wrong with that request. Please try again.