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?

  1. Minus sign: -strike-through text-
    • smile easy to remember
    • frown some chance to break existing text
  2. Tilde: ~strike-through text~
    • smile easy to remember
    • indifferent less chance to break existing text
  3. 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.
    • frown possible conflicts with anchors and numbered headings and lists.
  4. (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

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2004-03-10 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.