In some cases it is useful to have
strike-through text. What is a syntax that is intuitive, easy to remember and does not break existing content?
- Minus sign:
-strike-through text-
-
easy to remember
-
some chance to break existing text
- Tilde:
~strike-through text~
-
easy to remember
-
less chance to break existing text
- Hash:
#strike-through text#
- dash and tildes have the opposite intended visual effect when in edit mode -- they make the in-between text stronger and more apparent.
-
possible conflicts with anchors and numbered headings and lists.
- (add yours)
Contributors:
--
PeterThoeny - 27 Jan 2004
--
MattWilkie - 27 Jan 2004
Discussions
Also remember that there is another shorthand candidate for the tilde, see
EasierNop
--
ThomasWeigert - 27 Jan 2004
I'm not a strong proponent of
# for strike-through. I added it for completeness because it came up in another syntax discussion (
which I can't locate at the moment found it! see below). I find using <s> is pretty simple and straightforward.
--
MattWilkie - 27 Jan 2004
Since I'm druthering, it would be nice to have some similar simple markup for struck out text. "=" would be the first thought I'd have there, but that's an obvious conflict with TWiki's monospace markup.
--
RandyKramer - 26 Oct 2003
With regard to strike-outs, I've thought something ##like this## might work. (dashes and similar looking characters have the opposite effect of making the supposed-to-be-deleted text look more pominent instead of less). I've always thought it strange, and silly, that
<strike> was deprecated in the html4 and newer specs.
--
MattWilkie - 27 Oct 2003
Matt, I like the ##hash marks for strikethru##, probably single hash marks would be sufficient, and the fact that the "#" is sometimes called a hash mark (IIRC) just adds to the intuitiveness.
- Hash marks might conflict with here-anchors. Currently anchors are limited to beginning of line only, but that does not necessarily have to be the case. -- JonathanCline - 28 Oct 2003
- hmmm, be good not to step on anchors' toes. using double hashes would do that though (I think). -- MattWilkie - 28 Oct 2003
--
RandyKramer - 27 Oct 2003
- strikethrough - do we really need that?
- I use it when making small updates (a few words or a short sentence) that are major enough that I want people to know it's been changed, while minor enough not draw attention in a bolder manner. Of course if we had WordDiff I'd use that instead. Adding
strike to twiki is easy, word-diff is hard. -- MattWilkie - 28 Oct 2003
--
PeterKlausner - 27 Oct 2003
...thought I'd better add that I'm not rabidly advocating for strike to be added. I'm personally comfortable enough with
<s>strike</s>. I just thought that since we're discussing revamping the shorthand anyway I'd through it into the mix. (also see inline comments above)
--
MattWilkie - 28 Oct 2003
Bear in mind that HTML4.0 defines <DEL> and <INS> and deprecates STRIKE. Personally I'm quite happy with these, and don't think we need a strikethrough syntax.
-
CrawfordCurrie - 08 Feb 2004