Skip to content

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

License

Notifications You must be signed in to change notification settings

NicolasSiver/nodebb-plugin-ns-spoiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 21, 2021
cf00ec0 · Oct 21, 2021
Dec 6, 2019
Oct 21, 2021
Nov 10, 2020
Nov 24, 2015
May 6, 2018
Nov 22, 2015
Jul 3, 2020
Oct 21, 2021
Nov 22, 2015
May 6, 2018
Oct 21, 2021
Oct 8, 2016
Oct 21, 2021

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published