Skip navigation.
Home

Reply to comment

Syntax highlighting

Tip: when writing tutorials, enclose any code in <code> tags and it will get syntax highlighting, eg:

print "1 + 1 = " + (1 + 1)

The default language is Python, but you can get other languages too. e.g. <code language='xml'>.

Reply

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <img> <pre> <b> <i> <blockquote>
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>.

More information about formatting options