Octopress Spoiler Tag Plugin

Here is a spoiler tag plugin for Octopress, I've not been able to find one - not that I was in need of one, I just happened to be wondering if there was one readily available. Hidden behind the spoiler is a little secret.

{% spoiler %} Really I can count this as my first bit of Ruby.
{% endspoiler %}

In fact I don't know if I can even count it as a plugin, it's nothing impressive by anybodys standards. I'll post the source later on, once I've committed it to GitHub, but for now, you can see the code itself:


comments powered by Disqus