Skip Navigation

How to put hidden 'spoiler' text in a post

Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?

So to have something like Why did the chicken cross the road Answer When Answer is clicked it changes to To get to the other side

How to enter this?

You're viewing a single thread.

11 comments
  • Is the word Spoiler hardcoded? How to change if I want it to say Answer, for example?

    Also if my spoiler has 2 lines how to put page break in E.g. >! Line1 Line2

    To come out Line1 Line2

11 comments