| MoinMoin Wiki格式说明 |
用户设定 |
| ChinesePython Wiki | 中蟒大杂院 | 最近修改 | 标题目录 | 看发表区 | 搜寻/发表 | 站内导航 | 求助 |
段落之间用空行分割。用 [[BR]] 在段落中折行。
您可以将文字显示为 斜体 或 粗体. 要写斜体字,把文字首尾各用两个单引号括起来。(注意用英文符号,而不是全角标点符号,下同) 要写粗体,用三个单引号把文字括起来。 用上尖括号您可以得到注头文字。
用三个大括号可以插入程序代码而不是将其格式设为单字节宽度字体:
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.
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!
} } }
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!
Example:
1 from colors import palette
2 palette.colorize('python')