Miss any of our Open RFC calls?Watch the recordings here! »

nodebb-plugin-ns-spoiler

7.2.0 • Public • Published

NodeBB: Spoiler

Spoiler. Ability to control visibility of the content in posts. Works better with Markdown syntax.

Version Dependencies

Example:

:::

Spoiler's content goes here, it should start and end with at least 3 colons.
It should have a blank lines around the 3 colons tags.

:::

Table of contents

General

Markdown syntax is based on ideas from CommonMark Talk group.

This is true spoiler implementation where spoiler content is not loaded on the page (loading on demand or "lazy loading").

Styling

If you want to alter look of the spoiler, you could use these CSS classes:

  • ns-spoiler
  • ns-spoiler-control
  • ns-spoiler-content

Install

npm i nodebb-plugin-ns-spoiler

DownloadsWeekly Downloads

4

Version

7.2.0

License

MIT

Unpacked Size

23.4 kB

Total Files

20

Last publish

Collaborators

  • avatar