Answered: Spoiler answer

Post date: 2020-12-02 07:30:57
Views: 16

I don't know if there is a plugin that provides a "spoiler" feature, but with a markdown editor you can (relatively) easily emulate it. Add a style like this to your stylesheet:

.qa-post-content span.spoiler:not(:hover),
.qa-post-content span.spoiler:not(:hover) * {
  color: #aaaaaa;
  background-color: #aaaaaa;

and people can write something like this in the edit box:

Lorem ipsum <span class="spoiler">dolor sit amet</span>, consectetur adipiscing elit.

which will then display the <span> as a grey box until the user hovers the mouse over it.

Please click Here to read the full story.
Other Top and Latest Questions:
Lowering blood pressure without medication
the concept of resistance is creepy
Harness snags $85M Series C on $1.7B valuation as revenue grows 3x
Can I heat this? Or, how important is microwave vent clearance?
Division of labor in marriage, ADHD edition
Bookfilter: Recommendations for a tween, not fantasy or sci-fi
Making filtered database apps
Selling a beater, replace battery and repair slow leak in tyre first?
adjunct life? impulsive work stuff? knowing your worth?
WandaVision: Episode 1