Files
neochat/autotests
Joshua Goins 6b5996a1bd Add custom syntax for tagging spoilers
Currently the only two ways to spoiler text in your message is either:
* Using the /spoiler command
* Manually typing the data-mx-spoiler span HTML blocks

Neither one is discoverable, or friendly to users really. Instead, we
should extend our existing Markdown-based formatting syntax with one
that can handle spoiler tags. I chose the || syntax to match Discord,
since Element doesn't seem to adopt one.

Unfortunately, CMark does not support custom extensions (see
https://github.com/commonmark/cmark/pull/123) so we have to implement
our own parsing function. New tests are also added for this too.
2025-05-08 12:40:10 -04:00
..
2025-03-22 16:32:08 +00:00
2024-12-24 15:05:19 +01:00
2024-12-22 18:23:55 +00:00
2025-05-05 20:39:18 +00:00
2024-12-22 18:23:55 +00:00
2024-12-22 18:23:55 +00:00
2024-12-22 18:23:55 +00:00