Strikeout threw out? Strikethrough strikes out, throughout?

#41

+++ Vitaly Puzrin [Oct 27 14 05:55 ]:

What do you think about Critic Markup feature of marking cross-paragraphs ranges? Looks like very big collision with 2-level concept of markdown (blocks + inlines). Will it be valuable enougth, if limited by inlines only?

That was one of my worries about it. Another is that, in editing, you might e.g. want to strikeout part of a code block—but of course we wouldn’t support markup in a code block in any case. But a form of it that is limited to inlines might still be useful.

1 Like

#42

I backed out of this conversation for a bit, because I’m not really an expert in all this, but I just wanted to post this babelmark result, to try and underline the one point that I came here to make,

http://johnmacfarlane.net/babelmark2/?normalize=1&text=strike

which is that there is already a consensus. Obviously (this is markdown after all) it’s a split consensus, but frankly I only see two options here: follow John Gruber, or everyone else.

1 Like

#43

that combined with 45 -- 47 is still very much different compared to the other form of
--strikethrough this sentence--. So having a <s> version that won’t conflict with em-dashes should be possible.


Agreed with @Buddy statement that ~~strikeout-- (for <del>) has a presence, especially in pandoc, as a critic’s markup. Still think it is safer with critic’s markup {~~ ~~} form, in terms of finer control over removing spaces. (could perhaps be optional 2nd form to ~~strikeout--, and have both forms. )

0 Likes

#44

Thanks for the mailing list link. There has been some discussion about using Critic Markup over in the Reviewing Markups topic on this forum. Using the Critic Markup syntax {-- for deletion seems sensible. Perhaps ~~ could still be used in non-review contexts. For example, text that is no longer accurate or relevant, but is not intended to be deleted from the document. This is what the <s> element is used for in HTML5, distinct from <del>.

1 Like

#45

I often need markdown, usually in GitHub issues when I am corrected in lower comment or somewhere, I strikethrough the wrong content and then write the correct one.

It’s also useful when situations change like today at one Discourse I first talked about ~Manjaro~~ and then moved to talking about Antergos and strikethrough would have been helpful.

Googling I learned that <s> and <del> exist, but I am already used to GitHub flavoured markdown and probably many other people too.

4 Likes

#46

Probably not a pattern that survives outside of hard core programming communities like GitHub that internalize source control. I almost never see strikeout on Stack Exchange.

I am not opposed to it as a synonym for strikeout and del html tags, but it is not in the original Markdown definition doc for a reason, I think.

1 Like

#47

but I am already used to GitHub flavoured markdown and probably many other people too.

Yes, amen to this! I sometimes find myself unconsciously writing with “tildthrough” text in e-mail or IM when purposefully identifying a crossed-out message.

A more common-place scenario where strikethrough is needed is proof reading. An issue I opened earlier shows a case where having a native strikethrough syntax makes sense, as opposed to just falling back on regular <s> tags:

# "Sorry, new users can only put 4 links in a post." Well, bite me.
https://github.com/michelf/mdtest/issues/7
1 Like

#48

Probably I’ll suggest an extension to support out of box diffviews as


>+
>-
> 

2 Likes

#49

+1 I agree, and it could probably work similarly to emphasis parsing.

0 Likes

#50

I’d like to see strikethrough formatting added, because it’s very useful for todo lists and project planning. I’m already using the <s> tag, but:

  1. It’s harder to eyeball-scan past the tag when reading a document, unlike e.g., ~~, which contains no letters
  2. I don’t feel as comfortable asking nontechnical friends to collaborate on project planning documents with me when they have to understand HTML tags.
0 Likes

#51

Not one of the implementations pulled in in BabelMark translates the ~~word~~ syntax into an HTML <s> element (the <del> element type is an obvious alternative), and the majority of implementations don’t seem to recognize the syntax as anything special at all.

And by the way: How do you explain that ~~ should translate into <s> and not into <del> (and one would also need, for consistency, a syntax that translates into <ins> in that case)?

So in my point of view, I doubt that extending the CommonMark syntax in this direction is consistent with CommonMark’s stated goal of being “highly compatible” (although extending and not only refining the syntax has been done before, too), at least for now.

I for one would wish that QUOTATION MARK translates (under certain circumstances) into <q>, which is after all the “official” HTML element type to contain, well: inline quotations—but writing the tags literally into the text does achieve what I want anyway (with just one keystroke more), so I don’t see any urgency here. And the same applies for strike-through formatting, in my opinion.

0 Likes

#52

Babelmarks does not configure some parser extentions.

example

~~ is de-facto standard on github, supported by pandoc and so on.

0 Likes