This question already has an answer here:
- How do I format my code blocks? 1 answer
I wrote a Question on Stackoverflow and when I wanted to submit it, it says:
"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"
And there was only one code snippet, but already formatted in the following way:
which looks like
So I was wondering, what you want from me..
It would be nice if you would mark up the part you mean with that message and/or tell that
<code></code> isn't a proper code-formating if you do it like that...
or just make it a proper code-formating..
then I changed it too
(omg.. that was kinda hard to represent o.O)
Which wasn't working either.. wait... nope it worked.. but I ain'T knew it back then, and it seems that I made a typo or something so that I got the message again...
Sadly I first recognized that the Problem with
<code></code> is, that I'm not allowed to put them in different rows, while writing this "question"...
ooh.. and it would be great if you could explain the difference between the
<code></code> and the
cause while writing this I allready noticed some differences...
This isn't just a duplicate of "How do I format my code blocks?", because I didn't wanted to know how to format code-blocks, I had the wish(feature-request) that you could maybe change your errormessage(the one I quoted), in a way that everybody knews what to do..
I mean I even checked on the right side, below "How to format", "what HTML tags are allowed" and when there is written that
<code></code> is possible, how shall I or somebody else know that it's not allowed to use it in that way?
It's not even an "Important Note"...