What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

Is there any way to use <del> inside a formatted code block, or around the whole code block? I would like to emphesize that that code snippet is NOT the way to go, or use the traditional instead this code use this code logic.

It is only one line of code, so I can create almost the same layout using inline formatting around the code, but block formatting would be much nicer.

(Ps: I know del is an inline element but hey, here comes HTML5. Tag soup is in season again. :)

share|improve this question
Please don't do this in a code block. That's the whole point of a code block. Leave your diffs to your code repository. – Cody Gray Apr 16 '11 at 12:26
@Cody I can imagine legitimate uses. – vbence Apr 16 '11 at 13:34

1 Answer 1

up vote 6 down vote accepted
share|improve this answer
Thanks! Somehow I have not tried <pre>. – vbence Apr 16 '11 at 11:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .