You can make your code snippets look awesome by using the markdown syntax: put 3 backticks (```) before and 3 backticks after the code snippet.
There is another way to outline a code snippet, but it does not support colors:
- paste all the code. The preview will not display the config tag.
- select all the pasted code
- click the Preformatted text icon (CTRL+ SHIFT + C)