How do I post text so that it is formatted as code?
What do I need to do so that my code shows up properly—not escaped or removed—when posted? And how do I get the correct syntax highlighting?
For more information, see "How do I format my posts in HTML or Markdown?" in the Help Center.