Going On Strikethrough

nav_first.pngFirst: blog:more-than-just-a-wiki
More than just a Wiki
Edited: 07 Jul 2009 07:57 by: pieterh
Comments: 2
Tags: who-watches-the-watchers

nav_prev.pngPrevious: blog:ip-address-change
Wikidot IP Address Change
Edited: 26 Feb 2010 20:42 by: Gabrys
Comments: 26
Tags: phishing-for-complements

Last: blog:new-wikidot-office
Wikidot moves its office to Business Link Toruń
Edited: 24 Mar 2014 15:37 by: michal frackowiak
Comments: 3
Tags:
nav_last.png

Next: blog:tuesday-rant-27
Tuesday Rant XXVII - SPAM!
Edited: 23 Feb 2010 09:25 by: pieterh
Comments: 18
Tags: bloody-vikings
nav_next.png

by pieterh
on 17 Feb 2010 15:19

There is a bug in the Wikidot syntaxone that's been annoying me for agesand I'd like to get your opinion on it. As you can see from this paragraph, a double hyphen (used as em-dash) gets treated as 'strikethrough'. This means that correct English writing gets messed up. It also means that text which contains an em-dash (—) can't be struck-through.

You get () this—. Worse, you can't strike-through any part of a paragraph that has an em-dash in it.

I've got some ideas for fixing this, so tell me what you reckon. One: only recognize a -- as strikethrough when it has a word boundary before, or after (at the end). Two: create a new strikethrough rule, e.g. --- which does not need word boundaries, and works like all other rules.

Update: I've made a design proposal for changing the dashes and strikethrough. We'll discuss a while and then make the changes.

Comments: 19

Add a New Comment

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License