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


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

2 Answers 2

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

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 .