I tried to answer a question and putted: "&lt; ? php" (no blanks between it) into a answer here in stackoverflow. But it does not work; i read about the advanced formatting but did not find the hint or explanation how to solve this.  Surely someone will know this.
4554
How do I post text so that it is formatted as code?  What do I need to do so that my code shows up properly &mdash; not escaped or removed &mdash; when posted? And how to get the correct syntax highlighting?     For more information, see "" in the .
83923
If I enter the following mark-down source:  “*blah*”   into a question or answer, then it works, but in a comment it doesn’t. The asterisks remain literal and don’t turn into italics.
25980
suggested to have templates for tags. Their example was with the  tag on Stack Overflow.  I'm suggesting a more general approach:  Templates, Mark II  I suggest that each site will have a template. That template will prefill the  textbox when a new question is asked. However, it will be completely optional.  Something like (for Stack Overflow):  ## The Problem ## { Please tell us what the problem is with as many details as possible.   Include language, operating system, and any other relevant information.   Remember to add the relevant tags below, too. } ## Attempted Solutions ## { Please tell us what you've tried so far. Have you tried searching Google?    What queries? } ## Existing Code ## { Do you have any existing code to show? Please keep it short and simple.    We should be able to detect the problem right away. }   Why am I suggesting this?  Well, it seems as though most users will stick with the default. They don't bother to read, and so prefilling the question form for them with information that we know might be relevant, will forceWe'll get to that in a second them to actually stop and read.  Scenarios:   Best case: User arrives to ask a question, actually reads the template, fills the correct information in the placeholders. (Yeah, because that'll happen a lot) Neutral: User simply removes all of the template text and rewrites their own question. Result is exact same as we have currently. Worst case: User will ignore or misunderstand the template, will use it wrong or not at all and we'll get something like  &lt;template text here, still unfilled&gt; &lt;(crappy) question&gt;   This can be solved in a couple different ways. We could detect the template tags (i.e. { }, subject to discussion), and throw an error when a user attempts to post with them still available. We could also act more autonomously and remove placeholders which still exist.    Some more points:   Templates should be per-site, not per-tag. Sure, there are differences between the tags, but all questions are expected to have the same general information, and this isn't meant to be a rule, but a guideline to help write better questions. Site templates should be editable by that site's mods, like close reasons. We could autofocus on the first placeholder, and perhaps implement TAB to jump from one placeholder to the other, similar to mixins in IDEs. This doesn't have to be implemented everywhere. This suggestion makes sense to Stack Overflow or Superuser, but not to Anime &amp; Manga or Gaming All of the details are subject to discussion, and all discussion is welcomed.
91651
I know that it isn't a new question (I read already some others questions) but:   the question was asked many months ago; my problem, perhaps, is a little different!   Well, as I wrote in the previous message I'm blind and when I try to insert a question I have many problems with correctly indenting my code! I try the shortcut ctrl+K but it add the first 4 spaces and nothing else! If I try to indent this code, for example:  String buf; if(buf!=null) buf="buf isn't null"; else buf="buf is null";   If I selected all rows and press ctrl+K all rows are shifted to right by 4 spaces and the check returns an error because the rows 3 and 5 aren't indentent correctly and now there is the problem... if I select lines 3 and 5 and press ctrl+K again, the editor deletes the 4 spaces!  My question is: why don't you implement an HTML tag (something like &lt;bad code&gt;) that skips the control and, the negative thing, add a "bad reputation" to the author? I don't ask a workaround, but I can't lose 3 hours (yesterday I lost this time) for a question that already I can't post because the code is blocked! Another suggestion: could we be to able ask a moderator to add that bad reputation if he/she see the author never indent his/her code or remove the "bad reputation" if he/she see the author try to indent the code but it isn't indent perfectly! What do you think about it?  P.S.: This post is caused by the frustration that I have because from yesterday to today I can't insert a question on stack overflow because my code isn't indented correctly... If you should see how many times I try to fix it tou could understand my frustration!  P.S.2: can you implement the tag title on your toolbar icon? It could help me to use it.  @Hammar: ok, I write here what I think should be the correct code:     String buf;     if(buf!=null)         buf="buf is not null";     else         buf="buf is null"; ...  There are some errors to this code?  Ok, now I understand that the error wasn't where I thought (or better it COULD be in another place) so my new suggestion is: why don't you create a function that insert a tag for delimited where is the error? I not that you already change the post (for example deleting the initial phrase: "Hello all,") but i don't know how you do the check so I don't know if it is possible!  Ok, now I inset the question that caused this post and my frustration, the question is this:    and I resolve the check adding 4 space around all "suspected" code and adding some empty line... Tell me if it is better change the title for only the last suggestion or is better keep all things for, in the future, understand why and what I asked...
43791
I wasn't following Meta Stack Overflow too closely so maybe something was changed that I'm not aware of. But each time I paste a snippet from a Python console I'm getting wrong formatting. What I'm doing wrong? It seems that &gt;&gt;&gt; is confusing for Stack Overflow. I've tried to escape it with backslashes, and it was working fine in preview but doesn't work after the question is rendered.  I was able to observe that problem on: recent Chrome (Windows, Mac), Safari 4 (Mac).  Here is  I wasn't able to make right.  Funny, I think the snippets are rendered just fine on Meta Stack Overflow. Here is one:  &gt;&gt;&gt; def throw(): raise Exception()  ...  &gt;&gt;&gt; a=1 &gt;&gt;&gt; a=throw() Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in &lt;module&gt;   File "&lt;stdin&gt;", line 1, in throw Exception &gt;&gt;&gt; a 1
78614
Noticed this on Bicycles, but I presume it affects any Stack Exchange site   Write question Edit question, write a new tag Submit edit   When performing the above steps, I properly get an error message, but it says "answer" instead of "question" or "edit".
47649
When I post a question and want to add a new line, I have to press Return two times, or else the next text will appear on the same line.  Is this really supposed to behave this way? If so, why?
5867
If you comment something on Stack Overflow, you need to enter at least 15 characters, and you can't post a comment which just contain spaces.  But if you type in zero-width spaces it will work. A zero-width space can be translated with &amp;#8203; in HTML.  For better understanding, I have added a zero-width space comment to my question.
2278
Many posts here or somewhere else contain code, but they do not say where to put it.  Example:  I have found this post:  I'm a newbie with PHP. Where exactly should I place the code from the answer?
114332
I have the problem, that PHP replaces all spaces with underscores in POST and GET variables. For example if I have the URL: http://localhost/proxy.php?user name=Max the browser will convert it to http://localhost/proxy.php?user%20name=Max. But if I give the $_GET parameters out, the key is not user name but user_name (note the underscore)! Is there any possibility to change this behaviour?
115003
Here's the screenshot of my experience with italic text over Stack Overflow.     Basically it just wraps the word into asterisks and leaves it like this. Here on Meta I do not observe this bug.
17327
Oy!  links are broken, on Stack Overflow at least:        Nothing clickable here.  Markup: Duplicate answers: &amp;lt;a href=&amp;#39;/a/17872807&amp;#39;&amp;gt;17872807&amp;lt;/a&amp;gt;
73051
Is syntax highlighting only applied to code after the post is posted?  // test code  for (int i = 1; i &lt; 4; i++) {    s = s + "abc" + 'd' }   Also, will the formatted blocks that were shown as being separate after each time I hit Enter be merged?
4831
I added a comment to  but something strange is happening. The end code reads "); but SO decided to change that to ";);.    I did not add a ; in front of the ).  To further explain what's happening here, the following:  "http://example.com/." http://example.com/. "http://example.com." http://example.com. "http://example.com" http://example.com   renders as:
50605
How do I save user-entered line breaks from a &lt;textarea&gt; HTML element to a database?  It always removes the line breaks.
52177
I merged a question on programmers.stackexchange.com earlier today and 20 minutes or so later someone came along and answered it. Shouldn't that have been impossible?  Here's the . It was merged into .  Is it possible to merge the answer now or should the user repost manually?
96773
I was just browsing a forum and someone asked about a PHP file they had found on the web.  It has several spots like this in the code:  if ($REMOTE_ADDR == "") $ip = "no ip"; else $ip = getHostByAddr($REMOTE_ADDR);  I have always thought brackets are needed to enclose what you want to do if the condition is true.  Is there some other alternative, such as if it is on the same line you don't?  There is also another line like this: if ($action != ""): mail("$adminaddress","Visitor Comment from YOUR SITE",  My instinct is to say this wouldn't work, but I also don't know if it is an outdated PHP file and it used to work?