You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as Markdown-enabled textboxes on GitHub are concerned, the Strikethrough extension is underspecified. In general, it seems to have some of the same left-flanking/right-flanking rules. I haven't looked at the code yet, but here are some examples. According to the spec:
Strikethrough text is any text wrapped in tildes (~).
However, we can find a number of counter examples:
A "right-flanking" ~ cannot open text, nor can a "left-flanking" ~ close strikethrough
Markdown input
as rendered by GitHub
~ text~
~ text~
~text ~
~text ~
The "multiple of 3" combined delimiter rule seems to apply
As far as Markdown-enabled textboxes on GitHub are concerned, the Strikethrough extension is underspecified. In general, it seems to have some of the same left-flanking/right-flanking rules. I haven't looked at the code yet, but here are some examples. According to the spec:
However, we can find a number of counter examples:
A "right-flanking"
~
cannot open text, nor can a "left-flanking"~
close strikethrough~ text~
~text ~
The "multiple of 3" combined delimiter rule seems to apply
From the last sentence of rule #9.
~foo~~bar
~~foo~bar
The shorter span rule seems to apply
From rule #16
~~foo ~~bar~~
barThe "links group more tightly" rule seems to apply
From rule #17
~[foo~](bar)
I'd be happy to send a PR.
The text was updated successfully, but these errors were encountered: