Below is a screenshot of what I'm trying to post, it includes literally no code... and it's giving me a code-format error and will not let me post. I tried making the file names code, as you can see, and it still doesn't like it. I'm ready to give up.


  • 3
    What exactly does the message say? The most common one is "It looks like you have code that is not formatted as code". I think I saw one previously when someone had a list of links like you have, so they are probably your issue. But as a side note, your question is not good. Making people go to external links and dig through a 40 minute tutorial and all of your code is very rude and a very poor question. You should try to create an MCVE first and if you still have a problem, then post that code. – psubsee2003 May 8 '15 at 18:49
  • I definitely didn't make them go through all of my code... I posted very clearly what my issue was, and specifically where it was, and specifically what step I was on..... did you read it? – yelluhjelluh May 8 '15 at 19:06
  • 1
    It'd be better of a person didn't have to follow a link to get to the most useful information in your question. (I've converted your link to an inline image; that's a bit better.) – Fish Below the Ice May 8 '15 at 19:13
  • 3
    @yelluhjelluh I'm not trying to be difficult, but I am trying to save you time and trouble. Strip the fluff out and your question boils down to "I am doing X,,Y,Z. I have a problem, I am getting this error, go to these links to help me figure it out". It has the makings of a respectable question, but you are missing the last critical step and that is to remove the links. If someone needs to visit them in order to solve your problem, then it is not a good answer. Make the question self-contained and it will be good. – psubsee2003 May 8 '15 at 20:03

Some suggestions:

  • Remove "Thank in advance". It's noise.
  • The strings "No controller specified for top level element." and "Cannot resolve class or package projectX" should be in quote notation (or simply "quoted"), rather than as an inline code block.
  • Put a blank line before the list of links. Consider putting them in an unordered list.
    • I also don't see the actual links, just the Markdown link notation. I suspect that that's what's making the filter think you have unformatted code.
  • Put a blank line between your paragaphs.
  • 3
    Whether this is actually a good question for the site where it's being asked is another matter. – Fish Below the Ice May 8 '15 at 19:26

I typed the text exactly as it appears in your example. I did not receive any code format issues.

I was not exactly sure what the vertical-pipe-looking character was above "Here are the links..."

You can also see some related posts. They mainly talk about posts that LOOK like they contain code but is not properly formatted, which seems likely in yours.

Or check out the authoritative guide on formatting.

  • (I think the vertical-pipe-looking character is the typing cursor...) – ᔕᖺᘎᕊ May 8 '15 at 21:22
  • 1
    I'm so used to screenshots not capturing the cursor, I didn't even consider that. Thanks! – timato May 8 '15 at 21:39

You must log in to answer this question.

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