Spoiler warning
Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details>
tag... just make sure you close <details>
afterward.
console.log("I'm a code block!");
<details>
<summary>Spoiler warning</summary>
Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the `<details>` tag... just make sure you close `<details>` afterward.
```javascript
console.log("I'm a code block!");
```
</details>
In discord, you just smash your text between 2 sets of pipes, like this: ||This text will be hidden until the user clicks the blacked-out bar.||
Not sure about TG though