GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing kernelnewbies.org — HelpOnFormatting - Linux Kernel Newbies
FormattingContents 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.
General
Typeface
Colorize textColorizing is enabled in tables without additional macros (see HelpOnTables).
Colorize code (Syntax Highlighting)There are several ways to highlight code:
MoinMoin comes with a special parser called highlight that is based on Pygments internally. You can use it to highlight many sorts of programming source code, configuration files and other sorts of text files used on computers.
Examples
Mixing ''italic'' and '''bold'''
Superscript & SubscriptYou might recall ''a''^2^ `+` ''b''^2^ `=` ''c''^2^ from your math lessons, unless 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.
Code blocksMarkup: {{{
10 PRINT "Hello, world!"
20 GOTO 10
}}}Result: 10 PRINT "Hello, world!" 20 GOTO 10
Nesting curly bracesAs pointed out on HelpOnParsers, you can nest multiple levels of curly braces: Markup: {{{{
This is a preformatted text block.
{{{ with curly braces inside }}}
}}}}Result: This is a preformatted text block.
{{{ with curly braces inside }}}
Colorized CodeMarkup: {{{#!highlight python
from colors import palette
palette.colorize('python')
}}}Result: | |||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |