mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-29 02:23:43 +01:00
commit image into repo, fix typo
This commit is contained in:
parent
540aab82a1
commit
1f786ae6dc
|
|
@ -5,7 +5,7 @@ For example, when discussing a new movie or a TV series, not everyone might have
|
||||||
In such cases it would make sense to add a spoiler so that only those who have seen the movie or
|
In such cases it would make sense to add a spoiler so that only those who have seen the movie or
|
||||||
don't mind spoilers read the content.
|
don't mind spoilers read the content.
|
||||||
Another example would be e.g. in mental health communities where certain people have certain
|
Another example would be e.g. in mental health communities where certain people have certain
|
||||||
triggers. People could put talking about abuse or thelike into a spoiler, to not accidentally
|
triggers. People could put talking about abuse or the like into a spoiler, to not accidentally
|
||||||
trigger anyone just reading along the conversation.
|
trigger anyone just reading along the conversation.
|
||||||
Furthermore this is helpful for bridging to other networks that already have a spoiler feature.
|
Furthermore this is helpful for bridging to other networks that already have a spoiler feature.
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ It adds a new attribute, `data-mx-spoiler`, to the `<span>` tag. If the attribut
|
||||||
contents of the span tag should be rendered as a spoiler. Optionally, you can specify a reason for
|
contents of the span tag should be rendered as a spoiler. Optionally, you can specify a reason for
|
||||||
the spoiler by setting the attribute string. It could be rendered, for example, similar to this:
|
the spoiler by setting the attribute string. It could be rendered, for example, similar to this:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
To preserve the semantics of a spoiler in the plaintext fallback it is recommended to upload the contents of the spoiler
|
To preserve the semantics of a spoiler in the plaintext fallback it is recommended to upload the contents of the spoiler
|
||||||
as a text file and then link this: `[Spoiler](mxc://someserver/somefile)` and
|
as a text file and then link this: `[Spoiler](mxc://someserver/somefile)` and
|
||||||
|
|
|
||||||
BIN
proposals/images/2010-spoiler-example.gif
Normal file
BIN
proposals/images/2010-spoiler-example.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
Loading…
Reference in a new issue