大家可以将此页的源码抄到你的
CooCooWakka站点,方便使用。
也可以使用:[[CooCooWakka:WakkaFormatting]]
做指向本页的
InterWiki连接.
English Version:
WakkaFormattingEnglish
如果你对格式界定符有更好的建议,请在comments中留下。
另外
CooCooWakka是个很灵活的东西,大家可以参考一下本站一些页面的写法。
也欢迎大家分享自己的心得。
CooCooWakka特有功能:
[[可以使用中文]]
可以使用中文?
/*idea*/加个让人注意的小图标

加个让人注意的小图标
自动根据你的登陆注上自己的签名:
/*sign*/
By
CooYip at Wed June 18, 2003, 11:47 pm.
设置锚点:
@@anchor@@
详见
Anchor.
使用
MusicAction请访问咕咕在
WakkaSite的
WakkaWiki:MusicBox.
嵌入图像:
[IMG]image url[/IMG]
大小写区分。
e.g.:
[IMG]http://zh.wikipedia.org/upload/wiki.png[/IMG]
使用[HTML][/HTML]嵌入HTML代码,比如
[HTML]
[/HTML]
需要引用常用网站的内容?请同时看看
InterWiki
Wakka Formatting Guide
Text formatting on Wakka slightly differs from other Wikis. Anything between 2 sets of double quotes is ignored and presented exactly as typed.
Test your formatting skills in the
沙盒.
Basic formatting:
- 粗体:
**I'm bold text!**
I'm bold text!
斜体:
//I'm italic. text.//
I'm italic. text.
- 下划线:
And I'm __underlined__!
And I'm underlined!
- 等宽字:
##monospace (fixed width) text##
monospace text
- 注释:
''note''
note
- 代码:
%% Embed Code Here %%
int main(int arc,char **argv)
{
printf("Hello, %s!\n", (argc>1) ? argv[1] : "World");
return 0;
}
- PHP代码:
Example embedding PHP code:
<?php
phpinfo();
$s = "Hello, World!|\n";
print "$s";?>
支持更多语法显示?看看GeshiFormatter :: VimFormatter。
- 强制连接:
Forced links:
- [[http://www.mornography.de]]
http://www.mornography.de
- [[http://www.mornography.de Mornography]]
Mornography
- [[P2P]]
P2P?
- {Question: How does WakkaWiki? know to what URL to send this to? Since it wasn't specified explicitly
Answer: It is an forced WikiPage, that means a link to a page in this wiki is generated.
So why does LALA_LELE? sends me to
http://LALA_LELE
}
-
请看:InterWiki
- [[P2P This Wiki's page on P2P]]
This Wiki's page on P2P?
标题:
Headers:
- ====== Really big header ======
Really big header
- ===== Rather big header =====
Rather big header
==== Medium header ====
Medium header
=== Not-so-big header ===
Not-so-big header
== Smallish header ==
Smallish header
水平线:
Horizontal separator:
- ----
换行:
Forced line break:
- ---
列表:
Indent text using the Tab key. You can also use indented bulleted/numbered lists:
你也可以使用冒号代替Tab进行缩进。
- - bulleted list
:-bulleted list(using colon)
- bulleted list(using colon)
- 1) numbered list
- numbered list
- Line two
- A) Using uppercase characters
- Using uppercase characters
- Line two
- a) Using lowercase characters
- Using lowercase characters
- Line two
- i) using Latin numbers
- using Latin numbers
- Line two
Html特殊字符:
Entity literals:
- Entering &lt; into Wiki actually displays the character <. To show the literal string &lt;, use &lt;. Likewise for similar entities such as &gt; and so on.
为页面附加文件
当你需要在一个页面上附加文件时,只需要简单地输入
{{files}}
存盘后便可以上传文件了。不同页面的文件将会自动分开管理。
对齐
[right][left][center]
可以使用这些tag设置其中内容的对齐方式:
[right]这是一个**右对齐**---[IMG]http://zh.wikipedia.org/upload/wiki.png[/IMG][/right]
这是一个右对齐
 |
缩进
在中文文档中,段首常需要空两个,可以在需要如此缩进的行首使用">"表示缩进,如:
>缩进两个空格
缩进两个空格
关于Tab
鉴于一些浏览器无法输入Tab,可以使用4个空格替代,
CooCooWakka将在存盘时将其永久替换为Tab.
如果你需要在%%(编码框中)显示%%,请用\%\%替代。
对于\"\"中的情况,同样地,使用\"\"替代。
画表格
表格区域必须使用[table][/table]扩起,并且每行必须以||开头
[table]
||James ||
||Mike||John ||
||Lily||Eva ||
||Rose ||
||Lucy|| ||
[/table]
| James |
| Mike | John |
| Lily | Eva |
| Rose |
| Lucy | |
在表格中使用制表符Tab可以实现跨列,没有Tab或者一个Tab表示不跨,否则有多少个Tab就跨多少列。
以下James的格中有4个Tab
若无法输入Tab,可以用4个空格替代。
引用标记
使用两个单引号将引用词句括起,后紧接一个Force Link([[]],可以是url,
WikiPage,
InterWiki)。
什么是Wiki?''WikiWiki一词来源于夏威夷语的“wee kee wee kee”,原本是“快点快点”的意思。''[[http://zh.wikipedia.org/wiki/WikiWiki/%E7%AE%80]]
什么是Wiki?
WikiWiki一词来源于夏威夷语的“wee kee wee kee”,原本是“快点快点”的意思。[1]
删除线
[del]这是个过时的点子[/del]
这是个过时的点子
引用块quoteblock
[quote]
海纳百川,有容乃大。
[/quote]
海纳百川,有容乃大。