What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

I've been using <s> to put strikeout in posts -- is there a markdown way of doing it?

Seems like -[Text here] would make sense hehe :)

share|improve this question

4 Answers 4

up vote 25 down vote accepted

Yes.         No.         Maybe so.

This means that comments may not include strikeouts.

share|improve this answer
    
So in other words, the answer is no, there is no markdown way of expressing it. :*( –  Billy ONeal Sep 7 '10 at 19:26
4  
I <s>love</s> hate StackExchange comments :P (And their lack of ability for me to use strikeout) –  Billy ONeal Sep 7 '10 at 19:30
3  
@svnpenn - "Happiness and the absurd are two sons of the same earth. They are inseparable." Albert Camus –  Peter Ajtai Jun 14 '12 at 17:00

I don't know about standard markdown, but using Writer for Mac supports -- on either side for strikethroughs.

share|improve this answer
3  
This question is about how to do it in the Stack Exchange software, not so much how to do it in markdown in general, and not about how to do it in other software (e.g. I can also do strikethrough in MS Word and LaTeX, but that's not relevant here). –  doppelgreener Aug 19 at 7:01

It's rather inconsistent. In regular questions/answers, you can use <s>HTML tags</s> to get strikethrough text like this:

<s>like this</s>

In chat, you can surround text with --- to get strikethrough, but this doesn't work in regular questions/answers:

---strikethrough text---
share|improve this answer
4  
And it looks like <s>neither method</s> works in comments to ---achieve--- strikethrough. –  Jez Jul 12 '13 at 9:08
3  
U̶s̶e̶ ̶t̶h̶e̶ ̶f̶o̶r̶c̶e̶ ̶L̶u̶k̶e̶ ̶:̶)̶ –  Noctis May 15 at 23:47

<del> also works. As you can see here. It might be more semantically correct, especially if you include the "datetime" attribute.

share|improve this answer
1  
It might be more semantically correct. I often use strikeout to denote done items, so in that case the semantic is different than "deleted". But you are right, in some case <del> is semantically more accurate. –  Alessandro Vernet Jul 16 '12 at 16:56
    
Came here through a google search, <del> sounds nice, esp. with a datetime attribute, but it also removed code formatting whereas <s> did not. –  notacouch Nov 13 '13 at 22:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .