welcome: please sign in

The following 154 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
337b0c57eeb073c9550a2ed281d4ca6dda4f47e5   additional   also   Anchor   and   are   as   Asked   at   attachment   backticks   based   bearing   Begin   beginning   blank   block   bold   but   can   code   Code   color   colorize   Colorize   Colorized   Colorizing   colors   containing   default   describes   Double   Editing   Embed   enabled   end   Example   example   Examples   extension   file   filled   For   for   format   Formatting   Frequently   from   General   head   Hello   Help   highlight   Highlighting   How   ignored   import   in   insert   instruction   into   is   italic   languages   larger   lessons   linebreaks   lines   list   look   macros   Markup   markup   Master   math   Method   might   Miscellaneous   Mix   Mixing   monospace   more   my   name   Name   not   Notes   of   On   one   only   or   other   page   palette   paragraphs   parser   parsername   Parsers   parsers   processing   py   python   Questions   quotes   recall   Result   Sample   script   see   See   separate   several   single   Single   smaller   special   Start   stroke   sub   Subscript   such   super   Superscript   supported   syntax   Syntax   syntaxes   tables   Tables   take   test   text   the   There   This   to   To   Triple   Typeface   underline   unless   Use   Users   using   ways   which   wiki   Wiki   with   without   world   You   your  

Clear message
Page Locked

HelpOnFormatting

HelpForUsers > HelpOnEditing > HelpOnFormatting

This page describes using the MoinMoin wiki syntax (which is the default syntax for a MoinMoin based wiki, but not the only one). For other parsers/syntaxes take a look at HelpOnParsers.

1. General

2. Typeface

Name/Sample

Markup

Notes

italic

''italic''

Double single quotes.

bold

'''bold'''

Triple single quotes.

monospace

`monospace`

Single backticks. Wiki markup is ignored.

code

{{{code}}}

Example. Wiki markup is ignored.

underline

__underline__

superscript

^super^script

subscript

,,sub,,script

smaller

~-smaller-~

larger

~+larger+~

stroke

--(stroke)--

3. Colorize text

Colorizing is enabled in tables without additional macros (see HelpOnTables).

See also How can I colorize my text? in the FAQ.

4. Colorize code (Syntax Highlighting)

There are several ways to highlight code:

  1. Start a special code block containing the parser's name: {{{#!parsername

  2. Embed a file attachment bearing a supported extension (such as ".py") with {{attachment:test.py}}

  3. Begin a page with the format processing instruction: #format parsername

Example.

To see the list of supported languages see HelpOnParsers.


5. Examples

6. Mixing ''italic'' and '''bold'''

Markup

Result

'''''Mix''' at the beginning''

Mix at the beginning

'''''Mix'' at the beginning'''

Mix at the beginning

'''Mix at the ''end'''''

Mix at the end

''Mix at the '''end'''''

Mix at the end

7. Code

{{{
10 PRINT "Helloworld!"
20 GOTO 10
}}}

Result:

10 PRINT "Hello, world!"
20 GOTO 10

8. Superscript & Subscript

You might recall ''a''^2^ + ''b''^2^ = ''c''^2^ from your math lessonsunless your head is filled with H,,2,,O.

Result:

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

9. Colorized Code, Method #1

{{{#!python
from colors import palette
palette.colorize('python')
}}}

Result:

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