> HelpOnFormatting

The following 166 words could not be found in the dictionary of 159 words (including 159 LocalSpellingWords) and are highlighted below:

above   alternative   An   and   any   are   at   attachment   backtick   backticks   be   bearing   beginning   between   blank   bold   both   braces   but   by   can   caret   characters   code   colorize   colorized   Colorized   colors   commas   configuration   containing   curly   currently   default   different   disabled   Display   display   displays   double   each   Editing   embed   embedded   enabled   enclose   enclosing   end   escaped   Example   example   extension   file   filled   font   Foot   For   for   format   formatting   Formatting   from   get   has   have   head   Help   here   ignored   import   in   In   information   inline   inlined   insert   inserting   instruction   into   it   italics   languages   Leave   lessons   line   linebreaks   lines   markers   markup   math   might   Mix   Mixing   monospace   more   needs   No   no   note   Note   of   On   on   ones   only   Or   or   other   page   palette   paragraphs   possible   processing   program   py   python   quotes   recall   reformatting   render   Rules   same   sections   see   sequence   sequences   several   shorter   side   single   source   spaces   start   subscripts   superscripted   support   syntax   text   Text   than   that   the   them   There   this   three   to   To   triple   Underlined   underscore   unless   Use   use   via   ways   we   wiki   with   within   without   world   write   You   you   your  

Clear message

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. Underlined text needs a double underscore on each side. You get superscripted text by enclosing it into caret characters, and subscripts have to be embedded into double commas.

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.

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, unless you head is filled with H,,2,,O.

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.

Display

Mixing italics and bold:

You might recall a2 + b2 = c2 from your math lessons, unless you head is filled with H2O.

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!

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")

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