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

Possible Duplicate:
How do I format my code blocks?

I tried copy & paste and after reading meta Q&A I also tried http://pastebin.com, nothing worked for me.

share|improve this question

marked as duplicate by Cody Gray, kiamlaluno, Al E., jonsca, Pops Jul 20 '12 at 17:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

Copy your code. Paste it into the editor box. Make sure there is at least one blank line above it if you want to paste a block of code. Select it and press Ctrl+K. It will be formatted as code.

This is my
Amazing
PHP
Code
share|improve this answer
    
I did follow you instructions, so everything sort of worked - but I got this message "Oops! Your question couldn't be submitted because: Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, click the [?] toolbar icon" –  Manav Brar Apr 2 '12 at 0:15
1  
@ManavBrar: Can you edit your question to include your entire question, formatted as code? –  U2744 SNOWFLAKE Apr 2 '12 at 0:40
    
@ManavBrar to make sure you understand - edit your question here so we can see what might be wrong. :) –  Shadow Wizard Apr 2 '12 at 6:51
    
@minitechη, I see what you're trying to do, but asking the OP to include everything as a code block when the question is about inability to use code blocks seems kind of... can't think of a good word... futile, I guess. –  Pops Apr 2 '12 at 15:41
    
@PopularDemand: No, I think the OP understands how to format it, but the system isn't recognizing what's code and what's not correctly. So I'm just trying to see if this is the editor being a little too strict. –  U2744 SNOWFLAKE Apr 2 '12 at 18:28

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