How to format code snippets

code
examples
snippets
machine-task

#1

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:

  1. paste all the code. The preview will not display the config tag.
  2. select all the pasted code
  3. click the Preformatted text icon (CTRL+ SHIFT + C)


#2