HelpOnFormatting – Лаборатория полевых исследований
- Use one or more blank lines to separate paragraphs.
-
Use [[BR]] to insert linebreaks into paragraphs.
-
Start a special code block containing the parser’s name: {{{#!parsername
-
Embed a file attachment bearing a supported extension (such as “.py”) with inline:
-
Begin a page with the format processing instruction: #format parsername
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 |
^superscript^ |
|
subscript |
,,subscript,, |
|
smaller |
~-smaller-~ |
|
larger |
~+larger+~ |
|
stroke |
–(stroke)– |
MoinMoin Version 1.5+ |
There are several ways to display colorized code formatting:
Example.
To see the list of supported languages see HelpOnParsers.
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 |
{{{
10 PRINT “Hello, world!”
20 GOTO 10
}}}
Result:
10 PRINT "Hello, world!" 20 GOTO 10
You 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.
{{{#!python
from colors import palette
palette.colorize(‘python’)
}}}
Result:
1 from colors import palette 2 palette.colorize('python')
HelpOnFormatting (last modified 2007-11-26 13:34:51)