- 追加された行はこの色です。
- 削除された行はこの色です。
[[:CategoryDev/Document/Text Formatting Rule]]
This is a testing document for PukiWiki's Formatting rules. It may be used as examples for the documentation later on. ---Bjorn
#hr
*Inline Elements [#v2f727fb]
In the following table you can see how to use the inline text elements of PukiWiki
|''Format example''|''Formatting code''|''Comment''|
|''Emphasised text''|''Emphasised text''|Put the text between two single quotes.|
|'''Italic text'''|'''Italic text'''|Put the text between three single quotes.|
|Text with&br;a break|Text with &br; a break||
|&size(24){Text in font size 24};| &size(24){Text in font size 24};||
|&color(red){Red text};| &color(red){Red text};||
|&color(#123456){Colored text};| &color(#123456){Colored text};||
|&color(red,yellow){Red text with yeloow backbround};| &color(red,yellow){Red text with yellow background};||
|&color(red,yellow){Red text with yellow backbround};| &color(red,yellow){Red text with yellow background};||
|%%Strikethrough text%%| %%Strikethrough text%%||
|((This is the footnote's text))|((This is the footnote's text))|This inserts a footnote with the given text at the bottom of the page.|
|((Footnote Name))|((Footnote Name))|This inserts a footnote into the page(?)|
|~Paragraph| ~Paragraph||
|A comment is hidden here: //Comment|A comment is hidden here: //Comment|You cannot see it, but a comment hidden in the text.|
|Inline text~| Inline text~|What does this do?|
|>Quote| >Quote||
|-List| -List||
|&ref(http://www.example.com);|&ref(http://www.example.com);|This inserts a reference.|
|&aname(Anchor);|&aname(Anchor);|This inserts an invisible anchor for hyperlinking.|
|&counter;|&counter;|This inserts a counter. What does it count, in fact?|
|&online;|&online;|What does this do, in fact?|
|&version;|&version;|I guess this inserts the current version number of PukiWiki itself?|
|WikiName|WikiName|This create a link to another pages on the same Pukiwiki site.|
|[[BracketName]]|[[BracketName]]|This creates a link to another page on a same Pukiwiki site.|
|[[External link:http://www.example.com]]|[[External link:http://www.example.com]]|This creates links to pages on other web sites.|
|[[InterWikiLink:page name]]|[[InterWikiLink:page name]]|This creates a link to another Wiki, right?|
|Paragraph| ~Paragraph||
|Inline text| Inline text|What does this do?|
&br;
*Block Elements [#veaf1193]
Preformatted text. There is a space in front of the text.
~In what follows, examples for the block elements will be given.
First, you will see the example as it should be entered into PukiWiki,and
next is the result you'll get.
**Preformatted text [#v6d2a929]
Preformatted text. There is a space in front of this text.
Preformatted text. There is a space in front of this text.
&br;
**Headings [#n6275890]
*Heading level 1
**Heading level 2
***Heading level 3
There are no examples of how the heading looks like here,
because they would disturb the structure of this document.
But take a look at the headings above and below to see how
it might look.
&br;
**Paragraphs and the tilde as and escape character [#a6ab3c0e]
~Paragraph
~*This will not be displayed as a heading
~Paragraph
>Quote
>>Quote
>>>Quote
>Quote
>>Quote
>>>Quote
~*This will not be displayed as a heading
&br;
**Quotes [#q0849799]
>Quote Level 1
>>Quote Level 2
>>>Quote Level 3
>Quote Level 1
>>Quote Level 2
>>>Quote Level 3
&br;
**Unordered lists [#kbd4d759]
-Unordered list level 1
--Unordered list level 2
---Unordered list level 3
-Unordered list level 1
--Unordered list level 2
---Unordered list level 3
&br;
**Ordered lists [#z291b8c3]
+Ordered list level 1
++Ordered list level 2
+++Ordered list level 3
+Ordered list level 1
++Ordered list level 2
+++Ordered list level 3
&br;
**Definition lists [#z93a6096]
:Definition|Description
:Definition|Description
&br;
**Comments [#l279ee0b]
A comment is hidden here:
//Comment
A comment is hidden here:
//Comment
&br;
**Horizontal Rule [#s0439a0c]
----
----
**Table [#jecf0233]
|aaa|bbb|ccc|
|111|222|333|
|aaa|bbb|ccc|
|111|222|333|
**CSV Table [#pece650e]
,aaa,bbb,ccc
,111,222,333
,aaa,bbb,ccc
,111,222,333
*Special entities : [#nb14c38a]
|''Special entity''|''Code''|''Comments''|
|&page;|&page;|This one doesn't seem to work?|
|&date;|&date;|This one doesn't seem to work?|
|&time;|&time;|This one doesn't seem to work?|
|&now;|&now;|This one doesn't seem to work?|
|&heart;|&heart;||
|©|©||
|®|®||
|™|™||
|²|²||
|³|³||
| | |You may not be able to see it,&br;but there is a non-breaking space in the first column. &br; It prevents a line from being broken at that point.|
| |
|Is this a normal space?|
|||And this, a minus sign? |
&br;