mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-20 01:44:09 +02:00
update spoiler render idea
This commit is contained in:
parent
273af2a2e0
commit
26349417ba
|
|
@ -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:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The plain-text fallback could be rendered as `(Spoiler: <content>)` and
|
The plain-text fallback could be rendered as `(Spoiler: <content>)` and
|
||||||
`(Spoiler for <reason>: <content>)` respectively.
|
`(Spoiler for <reason>: <content>)` respectively.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue