Locked History Actions

Community/Logs/LogWikiHelp

Wiki Help for Log Pages

Verbatim Text

If the markup here does not make sense, click the preview button.

You can tell the wiki to just present a block of lines verbatim, even ignoring what would otherwise be valid wiki markup Markup:

  • {{{
    I didn't know three apostrophes (''') can be used in python as delimiters around 
    multi-line strings. I only knew them as '''bold''' delimiters in wiki. I wonder 
    what [[double brackets]] mean in python?
    So having figured triple quotes for long strings, I reran the program:
    % python do_something.py
    }}}

Result:

  • I didn't know three apostrophes (''') can be used in python as delimiters around 
    multi-line strings. I only knew them as '''bold''' delimiters in wiki. I wonder 
    what [[double brackets]] mean in python?
    So having figured triple quotes for long strings, I reran the program:
    % python do_something.py

Code Syntax Highlighting

You can also highlight the syntax of all sorts of different code. To do this, use hightlight. For example to highlight Python code:

{{{#!highlight python
class FooBar:
    ''' doc string '''
}}}

which renders as:

   1 class FooBar:
   2     ''' doc string '''