5

look at this answer, at the bottom there is a C code block, I tried formatting with the code sample button, manually, and nothing works, it looks all weird

any idea what I did wrong?

||||||
3

The # in Markdown corresponds to <h1> in HTML, so having a #include was causing Markdown parser to incorrectly think of it as heading. Adding a separator ( ---------- ) forces the break and causes it to parse correctly.

||||||

You must log in to answer this question.

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