1.2.1 • Published 4 years ago

hexo-sliding-spoiler v1.2.1

Weekly downloads
22
License
MIT
Repository
github
Last release
4 years ago

Inspired by hexo-spoiler

Install

npm install hexo-sliding-spoiler --save

If hexo can't detect this plugin automatically, you need to modify the plugins section of [path_to_your_site]/_config.yml manually, like:

plugins:
 - hexo-sliding-spoiler

Syntax

{% spoiler title %}
content
{% endspoiler %}

It will hide your text and place the title at the top with a dropdown/scroll up arrow.

Demo

Example

One word title

{% spoiler word %}
content
{% endspoiler %}

Title containing spaces

{% spoiler "Several spaces in the title" %}
content
{% endspoiler %}
1.2.1

4 years ago

1.2.0

4 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago