class RDoc::Markdown

def strike text

def strike text
  if text =~ /\A[a-z\d.\/-]+\z/i then
    "~#{text}~"
  else
    "<s>#{text}</s>"
  end
end