php-markdown
php-markdown copied to clipboard
Strike markdown
It's possible to implement strike?
The syntax could be -striketrough-. 👍
As an info, Github uses ~strike~
I think strike should be ~ and not -
GFM is ~strike~. It's implemented in many, many commonly used platforms on the js side. It would be super nice if we could follow suit in PHP.
Depending on the implementation, ~ can mean <sub>, <del>, or <u>. Using a double-tilde is more universal it seems. If this is going to get implemented, I think we should go for a double tilde: ~~strike~~.
For reference: ~strike~ vs ~~strike~~.
Also, using a dash doesn't really work as they’re pretty common in text and could easily generate false positives.
I think ~~strike~~ syntax is ok as well.
Hi Michel, if you consider adding strikethrough I can send you a pull request for it.
We have a working implementation for ~~strikethrough~~ at yellow-markdown.
Go for it!
Was this ever implemented?
I'm seeing ~underline~ ~~strike~~ and
Commonly implemented.
Clearly, GitHub doesn't support the combination, as it's interpreted as a code fence.