#|| ||
##%%(wacko)The text as it is. ((/HomePage))%%##
This format displays the text in the same way as if it was written without a formatter. Convenient for applying additional wrappers to text (alignment, boxes, etc. See below.)
|
%%(wacko)The text as it is. ((/HomePage))%%
|| ||
##%%(php) PHP-code%%##
|
%%(php)
<?php
phpinfo();
$s = "Hello, World!\n";
echo $s;
%%
++**Attention:** that code should begin with## <?php ?>## , because builtin PHP parser identifies PHP by those separators.++
|| ||
####
||| ||
##%%(noautolinks) no AutoLinks if CamelCase-Words%%##
|
%%(noautolinks) no AutoLinks if CamelCase-Words%%
|| ||
|| ||
##%%(details title="Summary" open=1) Details info. %%##
|
%%(details title="Summary" open=1)The **HTML Details Element** (##<details>##) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the ##<summary>## element. %%
|| ||
|| ||
##%%(cl)zypper dup --no-recommends%%##
|
%%(cl)
zypper dup --no-recommends
%%
|| ||
|| ||
%%%
%%(chat [type="div|table"])
chat log
%%
%%%
|
%%(chat type="table")
[12:04] Mike: Hi altogether.
[12:05] Alice: Did you check out the link https://example.com/
[12:10] Pete: I did't read your message.
The images
you drawn
are awesome!
%%
|| ||
|| ||
##%%(email) Email%%##
|
%%(email)
Hi!
RI>> Yes, it is.
>Are you sure?
Of course, yes!
Roman.
%%
|| ||
|| ||(colspan=2)
====Info box====
##%%(info type="note" title="Remarks" icon=0) content... %%##
Types: ##default##, ##error##, ##example##, ##important##, ##note##, ##question##, ##quote##, ##success##, ##warning##
##title## box title
##icon## show icon, default value is ##1##
|| ||
---- %%%
%%(info type="note")
content...
%%
%%%
|
%%(info type="note")
A wiki is a website where users can add, remove, and edit every page using a web browser. It's so terrifically easy for people to jump in and revise pages that wikis are becoming known as the tool of choice for large, multiple-participant projects.
%%
|| ||
---- %%%
%%(info type="warning")
content...
%%
%%%
|
%%(info type="warning")
As with any software that you expose to the internet, there may be bugs or security problems. Do not install WackoWiki unless you intend to keep up with security upgrades.
%%
|| ||(colspan=2)
====Phiki 语法突出显示====
Phiki package for syntax highlighting
##%%(hl [Formatter] numbers=1 start=2) code example %%##
##numbers## line numbering type: ##1## -> ol, ##2## -> Table
##start## lets the line numbers start at any number, and not just at ##1##
Formatter: ##abap##, ##cpp##, ##css##, ##diff##, ##dtd##, ##html##, ##java##, ##javascript##, ##perl##, ##php##, ##ruby##, ##python##, ##sh##, ##sql##, ##vbscript##, ##xml##.
|| ||
----##%%(hl css) CSS-Code%%##
|
%%(hl css)
body {margin: 0; padding: 5px;}
.class {background: url("http://example.com/");}
%%
|| ||---- ##%%(hl javascript) Javascript-Code%%##
|
%%(hl javascript)
var a = document.getElementById("test");
a.value = new Array(15, 31);
function echo (msg) {alert(msg)};
%%
|| ||---- ##%%(hl php numbers=2) PHP-Code%%##
|
%%(hl php numbers=2)
<?php
phpinfo();
$s = "Hello, World!\n";
echo $s;
%%
|| ||---- ##%%(hl xml) xml-Code%%##
|
%%(hl xml)
<config>
<section name="test">
<var>Test</var>
<val><![CDATA[..text...]]></val>
</section>
</config>
%%
|| ||
|| ||#