CooCooWakka : WakkaFormatting

首页 :: 索引 :: 修订历史 :: 最新评论 :: CooCooWakkaGroup :: 登陆/注册 :: 你好, 38.103.63.17
你的足迹: » WakkaFormatting
分类: » 类别索引 » 用户文档
大家可以将此页的源码抄到你的CooCooWakka站点,方便使用。
也可以使用:[[CooCooWakka:WakkaFormatting]]
做指向本页的InterWiki连接.
English Version: WakkaFormattingEnglish

如果你对格式界定符有更好的建议,请在comments中留下。

另外CooCooWakka是个很灵活的东西,大家可以参考一下本站一些页面的写法。
也欢迎大家分享自己的心得。

CooCooWakka特有功能:

[[可以使用中文]]
可以使用中文?

/*idea*/加个让人注意的小图标
Hot!加个让人注意的小图标

自动根据你的登陆注上自己的签名:
/*sign*/
By CooYip at Wed June 18, 2003, 11:47 pm.

设置锚点:
@@anchor@@
详见Anchor.

使用MusicAction请访问咕咕在WakkaSite[InterWiki]WakkaWiki:MusicBox.

嵌入图像:
[IMG]image url[/IMG]
大小写区分。
e.g.:
[IMG]http://zh.wikipedia.org/upload/wiki.png[/IMG]


使用[HTML][/HTML]嵌入HTML代码,比如
[HTML]<TABLE border=1><TR><TD>HELLO</TD></TR></TABLE>[/HTML]

HELLO


需要引用常用网站的内容?请同时看看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]] [External Link]http://www.mornography.de

[[http://www.mornography.de Mornography]] [External Link]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 [External Link]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)

1) numbered list

  1. numbered list
  2. Line two

A) Using uppercase characters

  1. Using uppercase characters
  2. Line two

a) Using lowercase characters

  1. Using lowercase characters
  2. Line two

i) using Latin numbers

  1. using Latin numbers
  2. Line two

Html特殊字符:
Entity literals:
Entering &lt; into Wiki actually displays the character <. To show the literal string &lt;, use &amplt;. Likewise for similar entities such as &gt; and so on.

为页面附加文件
当你需要在一个页面上附加文件时,只需要简单地输入
{{files}}
存盘后便可以上传文件了。不同页面的文件将会自动分开管理。

CooCooWakka 0.0.7.x的新标记:


对齐
[right][left][center]
可以使用这些tag设置其中内容的对齐方式:
[right]这是一个**右对齐**---[IMG]http://zh.wikipedia.org/upload/wiki.png[/IMG][/right]
这是一个右对齐


缩进
在中文文档中,段首常需要空两个,可以在需要如此缩进的行首使用">"表示缩进,如:
>缩进两个空格
    缩进两个空格

关于Tab
鉴于一些浏览器无法输入Tab,可以使用4个空格替代,CooCooWakka将在存盘时将其永久替换为Tab.

FormattingPuzzle
如果你需要在%%(编码框中)显示%%,请用\%\%替代。
对于\"\"中的情况,同样地,使用\"\"替代。


画表格
表格区域必须使用[table][/table]扩起,并且每行必须以||开头
[table]
||James		||
||Mike||John	||
||Lily||Eva	||
||Rose		||
||Lucy||&nbsp;||
[/table]

James
MikeJohn
LilyEva
Rose
Lucy 

在表格中使用制表符Tab可以实现跨列,没有Tab或者一个Tab表示不跨,否则有多少个Tab就跨多少列。
以下James的格中有4个Tab
James
1234

若无法输入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]

CooCooWakka 0.0.8新增

删除线
[del]这是个过时的点子[/del]
这是个过时的点子


CooCooWakka 0.0.9新增

引用块quoteblock

[quote]
海纳百川,有容乃大。
[/quote]

海纳百川,有容乃大。

本页有32篇留言.[显示留言板]

SourceForge.net Logo Creative Commons License
请享受共创成果的同时,尊重他人劳动。本站点内容如未特别声明,全部遵循 Creative Commons License by-nc-sa协议发布。