mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-30 11:03:42 +01: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
|
||||
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
|
||||
`(Spoiler for <reason>: <content>)` respectively.
|
||||
|
|
|
|||
Loading…
Reference in a new issue