Skip to content

A plugin for discourse to hide spoilers behind the spoiler-alert jQuery plugin

License

Notifications You must be signed in to change notification settings

ChadKeating/discourse-spoiler-alert

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A plugin for discourse to hide spoilers behind the spoiler-alert jQuery plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published