Skip to content

An Example of An Example

eteq edited this page Aug 3, 2012 · 1 revision

The easiest way to include code in an example (if you're using markdown, the github default wiki language) is to use three backticks ("`"). E.g.,

print 'Hello world!'

To give it python syntax highlighting, just be sure to put the word "python" immediately after the first three backticks:

import sys
a = 10 * 10
sys.exit(-1)
Clone this wiki locally