Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 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

So if you write

#include < iostream> it will display iostream, BUT if you drop the space after "<" it simply ignore what ever you write after that.

I don't know if others are also facing this issue but I have checked it on Safari and Firefox and I am on mac.

share|improve this question
Must... resist... urge... to... format... question... – mmyers Nov 18 '09 at 18:42
@mmyers: why fight it? – Joel Coehoorn Nov 18 '09 at 20:12
because Joel, it's a boy learning, and you don't want to discourage the learning – Nathan Koop Nov 18 '09 at 20:22
Why fight it? Because formatting it destroys the meaning of the question. – mmyers Nov 18 '09 at 20:27
up vote 14 down vote accepted

#include <iostream> surround code by tick marks or

#include <iostream> // indent code by four spaces (8 after a list)

Source of the above:

`#include <iostream>` surround code by tick marks or

    #include <iostream> // indent code by four spaces (8 after a list)

There is a ? on the upper-right of the editor that explains Markdown syntax:

share|improve this answer
hmm, thanks man that was helpful. – itsaboutcode Nov 18 '09 at 18:47
+1 for answer, 6.5/10 for the drawing. – tvanfosson Nov 18 '09 at 19:00
Indeed, my circle-foo is weak. What's missing? – GManNickG Nov 18 '09 at 19:10
There aren't any faces, construction equipment, or monsters in evidence. A large spy or magnifying glass might have been appropriate. – tvanfosson Nov 18 '09 at 19:13
+1 for ponies . – Nathan Koop Nov 18 '09 at 20:24

You need to put backticks around inline code: like <iostream> this. Or indent code blocks 4 spaces.

[space][space][space][space]Like <iostream> this

or Like `<iostream>`  this

If you just put in <iostream> it thinks you're using an HTML tag.

share|improve this answer

Alternatively, highlight the code and click on the little 101/010 icon above the text box. Or click on that icon to put in the backticks and type in the middle. That's how I did it for a long time.

share|improve this answer

You must log in to answer this question.

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