To experiment with the rules, please try editing the
WikiSandbox.
测试这些书写规则, 请在
沙坑中.
This page is available in German:
TextFormattingRulesDe.
这个页面还有德文版:
TextFormattingRulesDe.
Paragraphs
- Do not indent paragraphs
- Words wrap and fill as needed
- Use blank lines as separators
- Lines indented with one or more spaces (or tabs) are monospace font.
- Use
[[<<]]
to force a break to the beginning of the next line.
段落
- 不要indent段落
- 如需要可Words wrap and fill
- 用空行作为 段落分割符
- Lines indented with one or more spaces (or tabs) are monospace font.
- 用
[[<<]]
来强迫新行
Indented Paragraphs (Quotes)
Colon-space-colon (
: :
) at the beginning of a paragraph can be used to produce an indented paragraph. More colons at the beginning (
:: :
) produce larger indents.
: :Four score and seven years ago our fathers placed upon this
continent a new nation, conceived in liberty and dedicated to the
proposition that all men are created equal.
-
- Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
缩排段落 (引用)
冒号-空间- 冒号 (
: :
)在段落的开始可能用来生产一个缩进的段落。 在开始的更多冒号 (
:: :
)生产较大的缩进。
: :八十七年前,我们的父辈在这块大陆上建立了一个新的国度,拥护自由和主张所有人都是平等的
-
- 八十七年前,我们的父辈在这块大陆上建立了一个新的国度,拥护自由和主张所有人都是平等的
Bulleted Lists
Bullet lists are made by placing asterisks at the left margin. More asterisks increases the level of bullet:
* First-level list item
** Second-level list item
** Another second-level item
* A first-level item
项目列表
在文字的左边留白处放置星号用来生成项目列表。较多的星号增加项目的等级:
Horizontal Line
水平分割线
Four or more dashes (----) at the beginning of a line produce a horizontal line
一行前四个或者更多地连线符产生一个水平分割线 .
Emphasis
- Use doubled single-quotes (''), i.e., two apostrophies, for emphasis (usually italics)
- Use tripled single-quotes ('''), i.e. three apostrophies, for strong emphasis (usually bold)
- Use five single-quotes ('''''), or triples within doubles (five apostrophies), for some other kind of emphasis (usually bold italics)
- Use doubled at-signs (@@) for
monospace
text
- Use [+...+] for larger text and [-...-] for smaller text
- Emphasis can be used multiple times within a line, but cannot span across line boundaries -- you can't put a paragraph break in the middle of bold text.
See also
WikiStyles for advanced text formatting options.
强调
- Use doubled single-quotes (''), i.e., two apostrophies, for emphasis (usually italics)
- Use tripled single-quotes ('''), i.e. three apostrophies, for strong emphasis (usually bold)
- Use five single-quotes ('''''), or triples within doubles (five apostrophies), for some other kind of emphasis (usually bold italics)
- Use doubled at-signs (@@) for
monospace
text
- Use [+...+] for larger text and [-...-] for smaller text
- Emphasis can be used multiple times within a line, but cannot span across line boundaries -- you can't put a paragraph break in the middle of bold text.
你可以参照
WikiStyles, 这是高级文字格式选项.
References
- Join capitalized words (WikiWords) to make references to other pages on this Wiki.
- Precede URLs with "http:", "ftp:", "gopher:", "mailto:", or "news:" to create links automatically as in http://www.pmichaud.com/toast.
- URLs ending with .gif, .jpg, or .png are displayed as images in the page
- An image URL at the beginning of a line "floats left" with text wrapped around it.
- An image URL at the end of a line "floats right" with text wrapped around it.
- An image URL on a line by itself appears by itself in the output.
- URLs can be placed in double brackets [[url]] when the URL itself is not important to the text. For example, [[http://www.google.com/]] will appear as [1].
- Links with arbitrary text can be created in double brackets as [[url text]] or [[WikiWord text]]. Text can be an image URL, in which case the image becomes the link to the remote url or WikiWord.
- Anchor targets within pages (#-links) can be created using
[[#target]]
.
参照
- 头字母大写的单词 (WikiWords) 用于建立参照.
- URLs 以 "http:", "ftp:", "gopher:", "mailto:", or "news:" 开始自动建立联接. 如http://www.pmichaud.com/toast.
- URLs 以 .gif, .jpg, or .png 显示为图像.
- An image URL at the beginning of a line "floats left" with text wrapped around it.
- An image URL at the end of a line "floats right" with text wrapped around it.
- An image URL on a line by itself appears by itself in the output.
- URLs can be placed in double brackets [[url]] when the URL itself is not important to the text. For example, [[http://www.google.com/]] will appear as [2].
- 用 [[url text]] or [[WikiWord text]] 来为联接建立别名. Text 可以是图像的 URL.
- 页面内Anchor (#-links) 用
[[#target]]
来建立, 用[[ThisPage:#target]]来联接.
FreeLinks
A
free link is a page name reference that doesn't follow the
WikiWord convention.
Often, there is no natural
WikiWord for naming a page. That's when
{{free links}}
(a page called
free links) are useful. The
{{text}}
markup creates a link to a page called
Text. The markup
{{basic editing}}
markup creates a link to a page called
BasicEditing and displays as
basic editing. Suffixes and plurals are also possible, thus
{{wiki word}}s
produces
wiki words.
For more information please see the
FreeLinks documentation.
自由联接
自由联接 (
free link) 是一个页面名字参照不根据
WikiWord 传统.
Often, there is no natural
WikiWord for naming a page. That's when
{{free links}}
(a page called
free links) are useful. The
{{text}}
markup creates a link to a page called
Text. The markup
{{basic editing}}
markup creates a link to a page called
BasicEditing and displays as
basic editing. Suffixes and plurals are also possible, thus
{{wiki word}}s
produces
wiki words.
更多信息请参照
FreeLinks 文档.
Headings
Headings are made by placing a exclamation mark (
!) at the left margin. More exclamation marks increases the level of heading. For example,
! Level 1 Heading
Level 1 Heading
!! Level 2 Heading
Level 2 Heading
!!! Level 3 Heading
Level 3 Heading
Escape sequence
Anything placed between [= and =] is not interpreted by
PmWiki.
This makes it possible to easily do WikiWords that are not links and turn off other special formatting interpretation. The [= and =] can span multiple input lines, allowing effects to be applied to multiple input lines. For example, space+[= at the beginning of a line will cause the text up to the next =] to be monospace and uninterpreted by
PmWiki (useful for program listings).
不进行Wiki解释的块(很重要, 用于
引用程序段
)
你可以这么用
[=# kknd
## henda=]
来产生以下效果
#kknd
## henda
Anything placed between [= and =] is not interpreted by
PmWiki.
This makes it possible to easily do WikiWords that are not links and turn off other special formatting interpretation. The [= and =] can span multiple input lines, allowing effects to be applied to multiple input lines. For example, space+[= at the beginning of a line will cause the text up to the next =] to be monospace and uninterpreted by
PmWiki (useful for program listings).
Numbered Lists
Numbered lists are made by placing number-signs (#) at the left margin.
# Prepare the experiment
## Unwrap the pop-tart
## Insert the pop-tart into the toaster
# Begin cooking the pop tart
# Stand back
- Prepare the experiment
- Unwrap the pop-tart
- Insert the pop-tart into the toaster
- Begin cooking the pop tart
- Stand back
Definition Lists
Definition lists are made by placing colons at the left margin:
:term:definition of term
::second-level item: definition of 2nd-level item
- term
- definition of term
- second-level item
- definition of 2nd-level item
Tables
Table are defined by enclosing cells with '||'. A cell with leading and trailing spaces is centered; a cell with leading spaces is right-aligned; all other cells are left-aligned. An empty cell will cause the previous cell to span multiple columns. (There is currently no mechanism for spanning multiple rows.) A line beginning with '||' specifies the table attributes for subsequent tables.
||align=center border=1 width=50%
||Left || Center || Right||
||A || B || C||
|| multi span |||| ||
Left | Center | Right |
A | B | C |
multi span | |
For more information see
SimpleTables,
SimpleTablesII and
AdvancedTables.
Special characters(特殊字符)
The table gives a complete list of characters that
PmWiki supports.
Type | To get this | Write this |
Punctuation | ¿ ¡ « » § ¶ † ‡ • — – | ¿ ¡ « » § ¶ † ‡ • — – |
Commercial | ™ © ® ¢ € ¥ £ ¤ | ™ © ® ¢ € ¥ £ ¤ |
Greek | α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω | α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
Maths | ∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ → × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ℵ ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ | ∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ → × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ℵ ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ |
Spacing | x ≥ y (prevents line breaks in the middle of text) | x ≥ y |
Accents | À Á Â Ã Ä Å Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô õ ö ø ù ú û ü ÿ | À Á Â Ã Ä Å Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô õ ö ø ù ú û ü ÿ |
The one standard special character it doesn't support is the � ligature, because the HTML entity name is Æ and this gets interpreted as a
WikiWord.
<< TipsForEditing | PmWikiZhCnUtf8.DocumentationIndex | WikiStyles >>
编辑页面 -
页面修正 -
WikiHelp -
SearchWiki -
最近改变 - Printable Version
页面最后更新于 02 十月, 2003, 时间 12:27
©
copyleft by [email protected]
or
[email protected]