The PEAK Developers' Center   HelpOnFormatting UserPreferences
HelpContents Search Diffs Info Edit Subscribe XML Print View
The following 154 words could not be found in the dictionary of 50 words (including 50 LocalSpellingWords) and are highlighted below:
An   Colorized   Display   Editing   Example   Foot   For   Formatting   Hello   Help   In   Leave   Mix   Mixing   No   Note   On   Or   Python   Rules   Text   There   To   Use   You   above   alternative   and   any   are   at   attachment   backticks   be   bearing   beginning   between   blank   bold   both   braces   but   by   can   caret   characters   code   colorize   colorized   colors   configuration   containing   curly   currently   default   different   disabled   display   displays   double   embed   enabled   enclose   enclosing   end   escaped   example   extension   file   font   for   format   formatting   from   get   has   here   ignored   import   in   information   inline   inlined   insert   inserting   instruction   into   is   it   italics   languages   lessons   line   linebreaks   lines   markers   math   might   monospace   more   no   note   of   on   ones   only   or   other   page   palette   paragraphs   possible   processing   program   python   quotes   recall   reformatting   render   same   sections   see   sequence   sequences   several   shorter   single   site   source   spaces   start   superscripted   support   syntax   text   than   that   the   them   this   three   to   triple   use   via   ways   we   with   within   without   world   write   you   your  

Clear message

1 Text Formatting Rules

Leave blank lines between paragraphs. Use [[BR]] to insert linebreaks into paragraphs.

You can render text in italics or bold. To write italics, enclose the text in double single quotes. To write bold, enclose the text in triple single quotes. You get superscripted text by enclosing it into caret characters.

To insert program source without reformatting in a monospace font, use three curly braces:

10 PRINT "Hello, world!" 
20 GOTO 10 

Note that within code sections, both inline and display ones, any wiki markup is ignored. An alternative and shorter syntax for inlined code is to use backtick characters (note that this can be disabled by the site's configuration, but is enabled by default).

For more information on the possible markup, see HelpOnEditing.

1.1 Example

Mixing ''italics'' and '''bold''': 
 * '''''Mix''' at the beginning'' 
 * '''''Mix'' at the beginning''' 
 * '''Mix at the ''end''''' 
 * ''Mix at the '''end''''' 
You might recall ''a''^2^ `+` ''b''^2^ `=` ''c''^2^ from your math lessons. 
An { { {inline code sequence} } } has the start and end markers on the same line. Or you use `backticks`. 
A code display has them on different lines: { { { 
'''No''' markup here! 
} } } 
/!\ In the above example, we "escaped" the markers for source code sequences by inserting spaces between the curly braces.

1.2 Display

Mixing italics and bold:

You might recall a2 + b2 = c2 from your math lessons.

An inline code sequence has the start and end markers on the same line. Or you use backticks.

A code display has them on different lines:

'''No''' markup here! 

1.3 Colorized code displays

There are several ways to get colorized formatting of Python code1:

  1. start a code display with a line only containing "#!python"
  2. embed a file attachment bearing a ".py" extension via "inline:"
  3. start a page with a Python format processing instruction ("#format python")


    1 from colors import palette
    2 palette.colorize('python')

   1 There is currently no support for languages other than Python.
EditText of this page (last modified 2002-12-12 16:06:09)
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck