Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 686 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 686 Bytes

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

  • Check out the project from github
  • Copy the discourse-spoiler-alert folder to your plugins directory inside Discourse.
  • In development mode, run rake assets:clean
  • In production, recompile your assets: rake assets:precompile

License

MIT