Skip to content
 
 

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 two pipe characters.
It should have a blank lines around the pipe 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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages