-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown strikethrough with double tildes #529
Comments
as you've noted in the issue, we use commonmark and this is a limitation of that. Will leave this open to track the request given this and 9330 aren't the first issues to complain about this... |
Perhaps it would be a good idea to switch from CommonMark to a different Markdown parsing library that supports GitHub flavoured markdown, one of the most commonly used markdown variations? |
This doesn't need an old-composer label |
Only This is easy to type on a real keyboard, but not so much on a smartphone touchscreen. For those who wish to follow this up, this might be the still-opened related issue from 2017 in the CommonMark repository. |
Edited the title as I failed to find this issue via search (strikethrough doesn't have a hyphen, and I keyword stuffed a bit). |
GFM has its own issue #330 and keyword stuffing works in comments too |
Also Github's strikethrough is single tilde |
As this is not going to be fixed seeing current states, guess I should consider moving to other matrix client. |
any news? |
Not even |
Element Android includes a rich text editor so you could file an issue there instead, to add support for strikethrough. |
Is your suggestion related to a problem? Please describe.
Markdown formatting should support strike-through with
~~
.Using HTML tags is both unintuitive and inconvenient. Friends coming from Discord or Github users now expect most Markdown formatting to work and are heavily frustrated by the partial support. We always get bitten by this small discrepancy and have to edit messages afterwards.
Describe the solution you'd like
Allow the use of
~~
to strike text through:~~some text~~
should be rendered assome text.Describe alternatives you've considered
HTML tags such as
<del>
,<s>
and their closing counterparts are annoying to type in the middle of conversations. That's why we have Markdown instead of HTML or BBCode in the first place for italic and bold text.Switching from Markdown to the formatting toolbar back and forth solely to strike text through is cumbersome too.
Additional context
The CommonMark library used by Riot doesn't support
~~
by default, but some extensions seem to exist to fill that gap.Related issue: element-hq/element-web#9330
The text was updated successfully, but these errors were encountered: