I many times tried that four space(bar)s before and after the code. But I never succeed. Can one say how to put the code in the comments.
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
migrated from stackoverflow.com Jun 4 '10 at 2:51
This question came from our site for professional and enthusiast programmers.
Within comments you can use backticks (`) which on most keyboards is on the same key as the tilde (~)
you can use this in both posts and comments by wrapping the code section in