<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">All,<br><br>Hopefully, I'm not covering old territory, and a search of the list archives seems to indicate that I'm not. If I am, then I extend my apologies in advance.<br><br>I use strikethrough a lot so I modify my Movable Type Markdown module as shown below, right about line 1040 or so. I assume other Markdown implementations can use this change as well:<br><br>sub _DoItalicsAndBold {<br> my $text = shift;<br><br> # <strong> must go first:<br> $text =~ s{ (\*\*|__) (?=\S) (.+?[*_]*) (?<=\S) \1 }<br> {<strong>$2</strong>}gsx;<br><br> $text =~ s{ (\*|_) (?=\S) (.+?) (?<=\S) \1 }<br> {<em>$2</em>}gsx;<br><br> # These lines added by Bill Eccles, 2008-07-04<br> $text =~ s{ (\s) (-) (?=\S) (.+?) (?<=\S) (-) }<br> {$1<strike>$3</strike>}gsx;<br><br> return $text;<br>}<br><br>It converts<br><br> -text to be struck through-<br><br>to<br><br> <strike>text to be struck through</strike>.<br><br>Simple, and it works for me.<br><br>(I detail it at <<a href="http://www.bill.eccles.net/bills_words/2008/07/a-test-entry-with-markdownstri.html">http://www.bill.eccles.net/bills_words/2008/07/a-test-entry-with-markdownstri.html</a>>.)<br><br>Thoughts?<br><br>/Bill<br></body></html>