Spoilers #1134
-
How can I do spoilers with a button like this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Heya @ARR4NN! Spoilers are not a native feature of HTML or Markdown. Then building you custom spoiler logic using those. |
Beta Was this translation helpful? Give feedback.
Heya @ARR4NN!
Your question is a bit vague, please see asking quality questions, for some ideas on how to frame questions to make it easier or more effective for others to help you: https://github.com/remarkjs/.github/blob/main/support.md
Spoilers are not a native feature of HTML or Markdown.
You could solve this from the HTML side with a custom element https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements
Or from the markdown side with a directive https://github.com/remarkjs/remark-directive
Then building you custom spoiler logic using those.