Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates


The <code> tag works really great: test < less than > but markup still works

< and > don't get parsed out as tags.

The <pre> tag operates different:

test  but markup still works

Here the < less than > got gobbled up somehow inside the <pre> tag.

I know you can use 4 spaces but I find it irritating.

Anyway, it'd be great if the <pre> tag could act more like the <code> tag wrt < and >

share|improve this question

Indent by 4 spaces.

The only reason to use <pre> is if you want to avoid syntax highlighting -- and that plus <> in the content is rare enough that this is low-pri.

share|improve this answer
But I love pre!! And I'm not a 4 space indenter.. – bobobobo Dec 7 '09 at 20:27
@Jeff: if you copy a long piece of code <pre><code> is so much better that indenting every line by 4 characters – Francesco Montesano Apr 22 at 9:25

I don't get this. If you want to use HTML, then use HTML - HTML requires escaping certain "special" characters.

If you want to use Markdown, then use Markdown...

share|improve this answer

You must log in to answer this question.

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