Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to include code snippets in a post?

edited October 2006 in Vanilla 1.0 Help
Greetings, If I want to format some programming language and include it in a post, how would I do this? It seems that Vanilla strips out extra spaces, especially leading spaces, which makes it hard or impossible to indent anything. Thanks!


  • Surround the code block with <code> ... </code> brackets, and select the HTML option under Format comments as.
  • edited October 2006
    You have to use a html formatter and put your code inside the code tag:<code>your code here </code></code
This discussion has been closed.