## Please edit system and help pages ONLY in the master wiki!
## For more information, please see MoinMoin:MoinDev/Translation.
##master-page:HelpOnFormatting
##master-date:2006-07-02 12:31:36
#acl -All:write Default
#format wiki
#language zh

== 基本规则 ==

 * 每个段落之间用一个或多个空行分隔。
 * 使用`<<BR>>`在段落内分行。

== 文字样式 ==

||''' 名称/示例''' || ''' 标记 '''       || ''' 注意事项 '''          ||
||  ''斜体''       || `''斜体''`         || 每边各用两个单引号        ||
||  '''粗体'''     || `'''粗体'''`       || 每边各用三个单引号        ||
||  `等宽`         || {{{`等宽`}}}       || 每边各用一个backticks '`'. 其中的Wiki标记将被忽略 ||
||  {{{代码}}}     || `{{{代码}}}`       || 其中的Wiki标记将被忽略。[[#code_example|示例]] ||
||  __下划线__     || `__下划线__`       ||                         ||
||  ^上^标         || `^上^标`           ||                         ||
||  ,,下,,标       || `,,下,,标`         ||                         ||
||  ~-小号字体-~   || `~-小号字体-~`     ||                         ||
||  ~+大号字体+~   || `~+大号字体+~`     ||                         ||
|| --(删除线)--    || `--(删除线)--`     || MoinMoin 1.5 以上版本支持   ||


== 彩色源代码展示 ==

有几种方法可以用来展示彩色的源程序代码:

 1. 在源程序代码的第一行插入并只包含 `{{{#!分析插件名`
 1. 通过{{{"inline:"}}}嵌入一个以".py"为扩展名的附件。
 1. 在网页的开始插入处理指令 `"#format 分析插件名`

[[#color_code_example|示例]]

关于Wiki支持的程序语言类型，请参阅[[帮助-分析插件]]或HelpOnParsers（英文）。

----

= 示例 =

== 混合''斜体''和'''粗体''' ==
<<Anchor(italic_bold_example)>>

||'''标记'''               || '''展示'''                ||
|| `'''''混合'''在开头''`  ||  '''''混合'''在开头''     ||
|| `'''''混合''在开头'''`  ||  '''''混合''在开头'''     ||
|| `'''混合''在结尾'''''`  ||  '''混合''在结尾'''''     ||
|| `''混合'''在结尾'''''`  ||  ''混合'''在结尾'''''     ||



== 代码 ==

<<Anchor(code_example)>>

`{{{` <<BR>>
`10 PRINT "Hello, world!"` <<BR>>
`20 GOTO 10` <<BR>>
`}}}` <<BR>>

展示:

{{{
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.`

展示:

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


== 彩色源代码展示, 方法 #1 ==
<<Anchor(color_code_example)>>

## Note that we've used backticks here to "escape" the Wiki markup, and line-breaks to split up the paragraph.

`{{{#!python` <<BR>>
`from colors import palette` <<BR>>
`palette.colorize('python')` <<BR>>
`}}}` <<BR>>

展示:

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



此页的英文版本：HelpOnFormatting
