mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-01-27 20:54:34 +01:00
n/matrixspoilers.md: remove old Nhekos, attempt to clean & neutralize language
This commit is contained in:
parent
6cc84bea3d
commit
17838174e7
@ -11,24 +11,22 @@ The Matrix specification supports spoilers since version 1.1:
|
|||||||
|
|
||||||
- [Spoiler messages at Client-Server API of Matrix Specification](https://spec.matrix.org/latest/client-server-api/#spoiler-messages)
|
- [Spoiler messages at Client-Server API of Matrix Specification](https://spec.matrix.org/latest/client-server-api/#spoiler-messages)
|
||||||
|
|
||||||
My favourite Matrix clients FluffyChat and Nheko support spoilers when
|
My favourite Matrix clients, FluffyChat and Nheko, support spoilers when
|
||||||
the spoiler is formatted like `||Reason why this is a spoiler|Actually
|
the spoiler is in the following format; `||Reason why this is a spoiler|Actually
|
||||||
spoilered text.||` It can be in-line and reasonless spoilers are just
|
spoilered text.||` It can also be in-line and a spoiler without reason is just
|
||||||
`||spoiler goes here||`.
|
`||spoiler goes here||`.
|
||||||
|
|
||||||
Element Web supports whole message spoilers through the `/spoiler` command.
|
Element Web supports whole message spoilers through the `/spoiler` command.
|
||||||
I am not sure on other Elements as I barely use them for other things than
|
|
||||||
`/devtools` command.
|
|
||||||
|
|
||||||
Other clients supporting formatting such as Nheko older than [60b1a595e121e6d824cab188abac750be4459058](https://github.com/Nheko-Reborn/nheko/commit/60b1a595e121e6d824cab188abac750be4459058)
|
Other clients supporting formatting may have to enter the HTML directly e.g.:
|
||||||
will have to enter the HTML directly such as:
|
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<span data-mx-spoiler="REASON HERE">Spoilered text</span>
|
<span data-mx-spoiler="REASON HERE">Spoilered text</span>
|
||||||
```
|
```
|
||||||
|
|
||||||
Nheko has a `/plain` command to disable formatting for that message which
|
Some clients, like Nheko, have a `/plain` command to disable formatting for
|
||||||
allows sending this message in plain text to help someone else.
|
that message which allows sending this message in plain text to help someone
|
||||||
|
else.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
/plain <span data-mx-spoiler="REASON HERE">Spoilered text</span>
|
/plain <span data-mx-spoiler="REASON HERE">Spoilered text</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user