Revision [663]
Last edited on 2009-10-27 20:13:03 by WikkaInstaller (unregistered user) [Upgrading from 1.1.6.2 to 1.2]Additions:
======Wikka Formatting Guide======
<<**Note:** Anything between 2 sets of double-quotes is not formatted.<<::c::
Once you have read through this, test your formatting skills in the SandBox.
===1. Text Formatting===
~##""**I'm bold**""##
~**I'm bold **
~##""//I'm italic text!//""##
~//I'm italic text!//
~##""And I'm __underlined__!""##
~And I'm __underlined__!
~##""##monospace text##""##
~##monospace text##
~##""''highlight text''""## (using 2 single-quotes)
~''highlight text''
~##""++Strike through text++""##
~++Strike through text++
~##""Press #%ANY KEY#%""##
~Press #%ANY KEY#%
~##""@@Center text@@""##
~@@Center text@@
===2. Headers===
Use between six ##=## (for the biggest header) and two ##=## (for the smallest header) on both sides of a text to render it as a header.
~##""===== Rather big header =====""##
~===== Rather big header =====
~##""==== Medium header ====""##
~==== Medium header ====
~##""=== Not-so-big header ===""##
~=== Not-so-big header ===
===3. Horizontal separator===
===4. Forced line break===
~##""---""##
---
===5. Lists and indents===
This text is also indented
- Line one
- Line two
1) Line one
1) Line two
**Ordered lists using uppercase characters**
##""~A) Line one""##
##""~A) Line two""##
A) Line one
A) Line two
**Ordered lists using lowercase characters**
##""~a) Line one""##
##""~a) Line two""##
a) Line one
a) Line two
**Ordered lists using roman numerals**
##""~I) Line one""##
##""~I) Line two""##
I) Line one
I) Line two
**Ordered lists using lowercase roman numerals**
##""~i) Line one""##
##""~i) Line two""##
i) Line one
i) Line two
===6. Inline comments===
To format some text as an inline comment, use an indent ( **~**, a **tab** or **4 spaces**) followed by a **""&""**.
##""~& Comment""##
##""~~& Subcomment""##
##""~~~& Subsubcomment""##
~& Comment
~~& Subcomment
~~~& Subsubcomment
===7. Images===
===8. Links===
To create a **link to a wiki page** you can use any of the following options: ---
~1) type a ##""WikiName""##: --- --- ##""FormattingRules""## --- FormattingRules --- ---
~1) add a forced link surrounding the page name by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- --- ##""[[SandBox Test your formatting skills]]""## --- [[SandBox Test your formatting skills]] --- --- ##""[[SandBox 沙箱]]""## --- [[SandBox 沙箱]] --- ---
~1) add an image with a link (see instructions above).
To **link to external pages**, you can do any of the following: ---
~1) type a URL inside the page: --- --- ##""http://www.example.com""## --- http://www.example.com --- ---
~1) add a forced link surrounding the URL by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- --- ##""[[http://example.com/jenna/ Jenna's Home Page]]""## --- [[http://example.com/jenna/ Jenna's Home Page]] --- --- ##""[[mail@example.com Write me!]]""## --- [[mail@example.com Write me!]] --- ---
~1) add an image with a link (see instructions above);
~1) add an interwiki link (browse the [[InterWiki list of available interwiki tags]]): --- --- ##""WikiPedia:WikkaWiki""## --- WikiPedia:WikkaWiki --- --- ##""Google:CSS""## --- Google:CSS --- --- ##""Thesaurus:Happy""## --- Thesaurus:Happy --- ---
===9. Tables===
<
Tables can be created using two pipe (##""||""##) symbols. Everything in a single line is rendered as a table row.
##""||Cell 1||Cell 2||""##
||Cell 1||Cell 2||
Header cells can be rendered by placing an equals sign between the pipes.
##""|=|Header 1|=|Header 2||""##
##""||Cell 1||Cell 2||""##
|=|Header 1|=|Header 2||
||Cell 1||Cell 2||
Row and column spans are specified with ##x:## and ##y:## in parentheses just after the pipes.
##""|=| |=|(x:2)Columns||""##
##""|=|(y:2) Rows||Cell 1||Cell 2||""##
##""||Cell 3||Cell 4||""##
|=| |=|(x:2)Columns||
|=|(y:2) Rows||Cell 1||Cell 2||
||Cell 3||Cell 4||
Many additional features are available using table markup. A more comprehensive table markup guide is available on this server's TableMarkup page. A complete syntax reference is available on this server's TableMarkupReference page.
===10. Colored Text===
Colored text can be created using the ##color## action:
~##""{{color c="blue" text="This is a test."}}""##
~{{color c="blue" text="This is a test."}}
You can also use hex values:
~##""{{color hex="#DD0000" text="This is another test."}}""##
~{{color hex="#DD0000" text="This is another test."}}
Alternatively, you can specify a foreground and background color using the ##fg## and ##bg## parameters (they accept both named and hex values):
**Examples:**
~##""{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}""##
~{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}
~##""{{color fg="yellow" bg="black" text="This is colored text on colored background"}}""##
~{{color fg="yellow" bg="black" text="This is colored text on colored background"}}
===11. Floats===
===12. Code formatters===
You can easily embed code blocks in a wiki page using a simple markup. Anything within a code block is displayed literally.
To create a **generic code block** you can use the following markup:
~##""%% This is a code block %%""##.
%% This is a code block %%
To create a **code block with syntax highlighting**, you need to specify a //code formatter// (see below for a list of available code formatters).
~##""%%(""{{color c="red" text="php"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php)
echo "Hello, World!";
?>
%%
You can also specify an optional //starting line// number.
~##""%%(php;""{{color c="red" text="15"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php;15)
echo "Hello, World!";
?>
%%
If you specify a //filename//, this will be used for downloading the code.
~##""%%(php;15;""{{color c="red" text="test.php"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php;15;test.php)
echo "Hello, World!";
?>
%%
**List of available code formatters:**
{{table columns="6" cellpadding="1" cells="LANGUAGE;FORMATTER;LANGUAGE;FORMATTER;LANGUAGE;FORMATTER;ABAP;abap;Actionscript;actionscript;ADA;ada;Apache Log;apache;AppleScript; applescript;ASM;asm;ASP;asp;AutoIT;autoit;Axapta/Dynamics Ax X++;xpp;Bash;bash;BlitzBasic;blitzbasic;BNF;bnf;C;c;C for Macs;c_mac;c#;csharp;C++;cpp;C++ (QT extensions);cpp-qt;CAD DCL;caddcl;CadLisp;cadlisp;CFDG;cfdg;ColdFusion;cfm; CSS;css;D;d;Delphi;delphi;Diff-Output;diff;DIV; div;DOS;dos;dot;dot;Eiffel;eiffel;Fortran;fortran;FOURJ's Genero 4GL;genero;FreeBasic;freebasic;GML;gml;Groovy;groovy;Haskell;haskell;HTML;html4strict;INI;ini;IO;io;Inno Script;inno;Java 5;java5;Java;java;Javascript;javascript;LaTeX;latex;Lisp;lisp;Lua;lua;Matlab;matlab;Microchip Assembler;mpasm;Microsoft Registry;reg;mIRC;mirc;Motorola 68000 Assembler;m68k;MySQL;mysql;NSIS;nsis;Objective C;objc;OpenOffice BASIC;oobas;Objective Caml;ocaml;Objective Caml (brief);ocaml-brief;Oracle 8;oracle8;Pascal;pascal;Per (forms);per;Perl;perl;PHP;php;PHP (brief);php-brief;PL/SQL;plsql;Python;phyton;Q(uick)BASIC;qbasic;robots.txt;robots;Ruby;ruby;Ruby on Rails;rails;SAS;sas;Scheme;scheme;sdlBasic;sdlbasic;SmallTalk;smalltalk;Smarty;smarty;SQL;sql;TCL/iTCL;tcl;T-SQL;tsql;Text;text;thinBasic;thinbasic;Unoidl;idl;VB.NET;vbnet;VHDL;vhdl;Visual BASIC;vb;Visual Fox Pro;visualfoxpro;WinBatch;winbatch;XML;xml;ZiLOG Z80;z80;###"}}
===13. Mindmaps===
Wikka has native support for [[Docs:FreeMind mindmaps]]. There are two options for embedding a mindmap in a wiki page.
**Option 1:** Upload a ""FreeMind"" file to a webserver, and then place a link to it on a wikka page:
##""http://yourdomain.com/freemind/freemind.mm""##
No special formatting is necessary.
**Option 2:** Paste the ""FreeMind"" data directly into a wikka page:
~- Open a ""FreeMind"" file with a text editor.
~- Select all, and copy the data.
~- Browse to your Wikka site and paste the Freemind data into a page.
===14. Embedded HTML===
You can easily paste HTML in a wiki page by wrapping it into two sets of doublequotes.
~##""[html code]""##
**Examples:**
~##""y = xn+1""##
~""y = xn+1""
~##""CSS""##
~""CSS""
By default, some HTML tags are removed by the ""SafeHTML"" parser to protect against potentially dangerous code. The list of tags that are stripped can be found on the [[Docs:SafeHTML SafeHTML]] documentation page.
It is possible to allow //all// HTML tags to be used, see Docs:UsingHTML for more information.
CategoryWiki
<<**Note:** Anything between 2 sets of double-quotes is not formatted.<<::c::
Once you have read through this, test your formatting skills in the SandBox.
===1. Text Formatting===
~##""**I'm bold**""##
~**I'm bold **
~##""//I'm italic text!//""##
~//I'm italic text!//
~##""And I'm __underlined__!""##
~And I'm __underlined__!
~##""##monospace text##""##
~##monospace text##
~##""''highlight text''""## (using 2 single-quotes)
~''highlight text''
~##""++Strike through text++""##
~++Strike through text++
~##""Press #%ANY KEY#%""##
~Press #%ANY KEY#%
~##""@@Center text@@""##
~@@Center text@@
===2. Headers===
Use between six ##=## (for the biggest header) and two ##=## (for the smallest header) on both sides of a text to render it as a header.
~##""===== Rather big header =====""##
~===== Rather big header =====
~##""==== Medium header ====""##
~==== Medium header ====
~##""=== Not-so-big header ===""##
~=== Not-so-big header ===
===3. Horizontal separator===
===4. Forced line break===
~##""---""##
---
===5. Lists and indents===
This text is also indented
- Line one
- Line two
1) Line one
1) Line two
**Ordered lists using uppercase characters**
##""~A) Line one""##
##""~A) Line two""##
A) Line one
A) Line two
**Ordered lists using lowercase characters**
##""~a) Line one""##
##""~a) Line two""##
a) Line one
a) Line two
**Ordered lists using roman numerals**
##""~I) Line one""##
##""~I) Line two""##
I) Line one
I) Line two
**Ordered lists using lowercase roman numerals**
##""~i) Line one""##
##""~i) Line two""##
i) Line one
i) Line two
===6. Inline comments===
To format some text as an inline comment, use an indent ( **~**, a **tab** or **4 spaces**) followed by a **""&""**.
##""~& Comment""##
##""~~& Subcomment""##
##""~~~& Subsubcomment""##
~& Comment
~~& Subcomment
~~~& Subsubcomment
===7. Images===
===8. Links===
To create a **link to a wiki page** you can use any of the following options: ---
~1) type a ##""WikiName""##: --- --- ##""FormattingRules""## --- FormattingRules --- ---
~1) add a forced link surrounding the page name by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- --- ##""[[SandBox Test your formatting skills]]""## --- [[SandBox Test your formatting skills]] --- --- ##""[[SandBox 沙箱]]""## --- [[SandBox 沙箱]] --- ---
~1) add an image with a link (see instructions above).
To **link to external pages**, you can do any of the following: ---
~1) type a URL inside the page: --- --- ##""http://www.example.com""## --- http://www.example.com --- ---
~1) add a forced link surrounding the URL by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- --- ##""[[http://example.com/jenna/ Jenna's Home Page]]""## --- [[http://example.com/jenna/ Jenna's Home Page]] --- --- ##""[[mail@example.com Write me!]]""## --- [[mail@example.com Write me!]] --- ---
~1) add an image with a link (see instructions above);
~1) add an interwiki link (browse the [[InterWiki list of available interwiki tags]]): --- --- ##""WikiPedia:WikkaWiki""## --- WikiPedia:WikkaWiki --- --- ##""Google:CSS""## --- Google:CSS --- --- ##""Thesaurus:Happy""## --- Thesaurus:Happy --- ---
===9. Tables===
<
##""||Cell 1||Cell 2||""##
||Cell 1||Cell 2||
Header cells can be rendered by placing an equals sign between the pipes.
##""|=|Header 1|=|Header 2||""##
##""||Cell 1||Cell 2||""##
|=|Header 1|=|Header 2||
||Cell 1||Cell 2||
Row and column spans are specified with ##x:## and ##y:## in parentheses just after the pipes.
##""|=| |=|(x:2)Columns||""##
##""|=|(y:2) Rows||Cell 1||Cell 2||""##
##""||Cell 3||Cell 4||""##
|=| |=|(x:2)Columns||
|=|(y:2) Rows||Cell 1||Cell 2||
||Cell 3||Cell 4||
Many additional features are available using table markup. A more comprehensive table markup guide is available on this server's TableMarkup page. A complete syntax reference is available on this server's TableMarkupReference page.
===10. Colored Text===
Colored text can be created using the ##color## action:
~##""{{color c="blue" text="This is a test."}}""##
~{{color c="blue" text="This is a test."}}
You can also use hex values:
~##""{{color hex="#DD0000" text="This is another test."}}""##
~{{color hex="#DD0000" text="This is another test."}}
Alternatively, you can specify a foreground and background color using the ##fg## and ##bg## parameters (they accept both named and hex values):
**Examples:**
~##""{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}""##
~{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}
~##""{{color fg="yellow" bg="black" text="This is colored text on colored background"}}""##
~{{color fg="yellow" bg="black" text="This is colored text on colored background"}}
===11. Floats===
===12. Code formatters===
You can easily embed code blocks in a wiki page using a simple markup. Anything within a code block is displayed literally.
To create a **generic code block** you can use the following markup:
~##""%% This is a code block %%""##.
%% This is a code block %%
To create a **code block with syntax highlighting**, you need to specify a //code formatter// (see below for a list of available code formatters).
~##""%%(""{{color c="red" text="php"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php)
echo "Hello, World!";
?>
%%
You can also specify an optional //starting line// number.
~##""%%(php;""{{color c="red" text="15"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php;15)
echo "Hello, World!";
?>
%%
If you specify a //filename//, this will be used for downloading the code.
~##""%%(php;15;""{{color c="red" text="test.php"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php;15;test.php)
echo "Hello, World!";
?>
%%
**List of available code formatters:**
{{table columns="6" cellpadding="1" cells="LANGUAGE;FORMATTER;LANGUAGE;FORMATTER;LANGUAGE;FORMATTER;ABAP;abap;Actionscript;actionscript;ADA;ada;Apache Log;apache;AppleScript; applescript;ASM;asm;ASP;asp;AutoIT;autoit;Axapta/Dynamics Ax X++;xpp;Bash;bash;BlitzBasic;blitzbasic;BNF;bnf;C;c;C for Macs;c_mac;c#;csharp;C++;cpp;C++ (QT extensions);cpp-qt;CAD DCL;caddcl;CadLisp;cadlisp;CFDG;cfdg;ColdFusion;cfm; CSS;css;D;d;Delphi;delphi;Diff-Output;diff;DIV; div;DOS;dos;dot;dot;Eiffel;eiffel;Fortran;fortran;FOURJ's Genero 4GL;genero;FreeBasic;freebasic;GML;gml;Groovy;groovy;Haskell;haskell;HTML;html4strict;INI;ini;IO;io;Inno Script;inno;Java 5;java5;Java;java;Javascript;javascript;LaTeX;latex;Lisp;lisp;Lua;lua;Matlab;matlab;Microchip Assembler;mpasm;Microsoft Registry;reg;mIRC;mirc;Motorola 68000 Assembler;m68k;MySQL;mysql;NSIS;nsis;Objective C;objc;OpenOffice BASIC;oobas;Objective Caml;ocaml;Objective Caml (brief);ocaml-brief;Oracle 8;oracle8;Pascal;pascal;Per (forms);per;Perl;perl;PHP;php;PHP (brief);php-brief;PL/SQL;plsql;Python;phyton;Q(uick)BASIC;qbasic;robots.txt;robots;Ruby;ruby;Ruby on Rails;rails;SAS;sas;Scheme;scheme;sdlBasic;sdlbasic;SmallTalk;smalltalk;Smarty;smarty;SQL;sql;TCL/iTCL;tcl;T-SQL;tsql;Text;text;thinBasic;thinbasic;Unoidl;idl;VB.NET;vbnet;VHDL;vhdl;Visual BASIC;vb;Visual Fox Pro;visualfoxpro;WinBatch;winbatch;XML;xml;ZiLOG Z80;z80;###"}}
===13. Mindmaps===
Wikka has native support for [[Docs:FreeMind mindmaps]]. There are two options for embedding a mindmap in a wiki page.
**Option 1:** Upload a ""FreeMind"" file to a webserver, and then place a link to it on a wikka page:
##""http://yourdomain.com/freemind/freemind.mm""##
No special formatting is necessary.
**Option 2:** Paste the ""FreeMind"" data directly into a wikka page:
~- Open a ""FreeMind"" file with a text editor.
~- Select all, and copy the data.
~- Browse to your Wikka site and paste the Freemind data into a page.
===14. Embedded HTML===
You can easily paste HTML in a wiki page by wrapping it into two sets of doublequotes.
~##""[html code]""##
**Examples:**
~##""y = xn+1""##
~""y = xn+1""
~##""CSS""##
~""CSS""
By default, some HTML tags are removed by the ""SafeHTML"" parser to protect against potentially dangerous code. The list of tags that are stripped can be found on the [[Docs:SafeHTML SafeHTML]] documentation page.
It is possible to allow //all// HTML tags to be used, see Docs:UsingHTML for more information.
CategoryWiki
Deletions:
**Full documentation has been moved to FormattingRulesFull.** Experiment in the SandBox. - BaxilDragon
===Simple Formatting===
~##""**I'm bold**""##, ##""//I'm italic text!//""##, ##""##monospace text##""##
~**I'm bold **, ##"" ""## //I'm italic text!//, ##"" ""## ##monospace text##
~"Escape" (nullify) code by enclosing it in two sets of double quotes:
~##""""**not bold**""""## = ""**not bold**""
===Links===
To create a **link to a wiki page** you can use any of the following options:
~1) type a ##""WikiName""##: --- ##""FormattingRules""## = FormattingRules ---
~1) add a forced link surrounding the page name by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- ##""[[SandBox Test your formatting skills]]""## = [[SandBox Test your formatting skills]] ---
~1) add an image with a link (see instructions below).
To **link to external pages**, you can do any of the following:
~1) type a URL inside the page: --- ##""http://www.example.com""## = http://www.example.com ---
~1) add a forced link surrounding the URL by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- ##""[[http://example.com/jenna/ Jenna's Home Page]]""## = [[http://example.com/jenna/ Jenna's Home Page]] --- ##""[[mail@example.com Write me!]]""## = [[mail@example.com Write me!]] ---
~1) add an image with a link (see instructions below);
~1) add an interwiki link (browse the [[InterWiki list of available interwiki tags]]): --- e.g. ##""WikiPedia:WikkaWiki""## = WikiPedia:WikkaWiki
===Headers, spacing, lines===
Use between five ##=## (for the biggest header) and two ##=## (for the smallest header) on both sides of a text to render it as a header.
... down to ...
Horizontal rule:
Forced line break:
~##foo ""---"" bar##
foo --- bar
===Lists and indents===
This text is also indented
~- Line one
~- Line two
~1) Line one
~1) Line two
For sublists, increase the number of tildes:
##""~~- Subline one""##
~- Line one
~~- Subline one
~- Line two
===Images===
===Floats===
CategoryWiki WikkaDocumentation
Additions:
CategoryWiki WikkaDocumentation
Deletions:
Additions:
**Full documentation has been moved to FormattingRulesFull.** Experiment in the SandBox. - BaxilDragon
===Simple Formatting===
~##""**I'm bold**""##, ##""//I'm italic text!//""##, ##""##monospace text##""##
~**I'm bold **, ##"" ""## //I'm italic text!//, ##"" ""## ##monospace text##
~"Escape" (nullify) code by enclosing it in two sets of double quotes:
~##""""**not bold**""""## = ""**not bold**""
===Links===
To create a **link to a wiki page** you can use any of the following options:
~1) type a ##""WikiName""##: --- ##""FormattingRules""## = FormattingRules ---
~1) add a forced link surrounding the page name by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- ##""[[SandBox Test your formatting skills]]""## = [[SandBox Test your formatting skills]] ---
~1) add an image with a link (see instructions below).
To **link to external pages**, you can do any of the following:
~1) type a URL inside the page: --- ##""http://www.example.com""## = http://www.example.com ---
~1) add a forced link surrounding the URL by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- ##""[[http://example.com/jenna/ Jenna's Home Page]]""## = [[http://example.com/jenna/ Jenna's Home Page]] --- ##""[[mail@example.com Write me!]]""## = [[mail@example.com Write me!]] ---
~1) add an image with a link (see instructions below);
~1) add an interwiki link (browse the [[InterWiki list of available interwiki tags]]): --- e.g. ##""WikiPedia:WikkaWiki""## = WikiPedia:WikkaWiki
===Headers, spacing, lines===
... down to ...
Horizontal rule:
Forced line break:
~##foo ""---"" bar##
foo --- bar
===Lists and indents===
For sublists, increase the number of tildes:
===Images===
===Floats===
===Simple Formatting===
~##""**I'm bold**""##, ##""//I'm italic text!//""##, ##""##monospace text##""##
~**I'm bold **, ##"" ""## //I'm italic text!//, ##"" ""## ##monospace text##
~"Escape" (nullify) code by enclosing it in two sets of double quotes:
~##""""**not bold**""""## = ""**not bold**""
===Links===
To create a **link to a wiki page** you can use any of the following options:
~1) type a ##""WikiName""##: --- ##""FormattingRules""## = FormattingRules ---
~1) add a forced link surrounding the page name by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- ##""[[SandBox Test your formatting skills]]""## = [[SandBox Test your formatting skills]] ---
~1) add an image with a link (see instructions below).
To **link to external pages**, you can do any of the following:
~1) type a URL inside the page: --- ##""http://www.example.com""## = http://www.example.com ---
~1) add a forced link surrounding the URL by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- ##""[[http://example.com/jenna/ Jenna's Home Page]]""## = [[http://example.com/jenna/ Jenna's Home Page]] --- ##""[[mail@example.com Write me!]]""## = [[mail@example.com Write me!]] ---
~1) add an image with a link (see instructions below);
~1) add an interwiki link (browse the [[InterWiki list of available interwiki tags]]): --- e.g. ##""WikiPedia:WikkaWiki""## = WikiPedia:WikkaWiki
===Headers, spacing, lines===
... down to ...
Horizontal rule:
Forced line break:
~##foo ""---"" bar##
foo --- bar
===Lists and indents===
For sublists, increase the number of tildes:
===Images===
===Floats===
Deletions:
<<**Note:** Anything between 2 sets of double-quotes is not formatted.<<::c::
Once you have read through this, test your formatting skills in the SandBox.
===1. Text Formatting===
~##""**I'm bold**""##
~**I'm bold **
~##""//I'm italic text!//""##
~//I'm italic text!//
~##""And I'm __underlined__!""##
~And I'm __underlined__!
~##""##monospace text##""##
~##monospace text##
~##""''highlight text''""## (using 2 single-quotes)
~''highlight text''
~##""++Strike through text++""##
~++Strike through text++
~##""Press #%ANY KEY#%""##
~Press #%ANY KEY#%
~##""@@Center text@@""##
~@@Center text@@
===2. Headers===
~##""===== Rather big header =====""##
~===== Rather big header =====
~##""==== Medium header ====""##
~==== Medium header ====
~##""=== Not-so-big header ===""##
~=== Not-so-big header ===
===3. Horizontal separator===
===4. Forced line break===
~##""---""##
---
===5. Lists and indents===
**Ordered lists using uppercase characters**
##""~A) Line one""##
##""~A) Line two""##
~A) Line one
~A) Line two
**Ordered lists using lowercase characters**
##""~a) Line one""##
##""~a) Line two""##
~a) Line one
~a) Line two
**Ordered lists using roman numerals**
##""~I) Line one""##
##""~I) Line two""##
~I) Line one
~I) Line two
**Ordered lists using lowercase roman numerals**
##""~i) Line one""##
##""~i) Line two""##
~i) Line one
~i) Line two
==5.1. Sublists==
These are possible too. Increase the number of tildes:
**Sublist example**
- BaxilDragon
===6. Inline comments===
To format some text as an inline comment, use an indent ( **~**, a **tab** or **4 spaces**) followed by a **""&""**.
##""~& Comment""##
##""~~& Subcomment""##
##""~~~& Subsubcomment""##
~& Comment
~~& Subcomment
~~~& Subsubcomment
===7. Images===
===8. Links===
To create a **link to a wiki page** you can use any of the following options: ---
~1) type a ##""WikiName""##: --- --- ##""FormattingRules""## --- FormattingRules --- ---
~1) add a forced link surrounding the page name by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- --- ##""[[SandBox Test your formatting skills]]""## --- [[SandBox Test your formatting skills]] --- --- ##""[[SandBox 沙箱]]""## --- [[SandBox 沙箱]] --- ---
~1) add an image with a link (see instructions above).
To **link to external pages**, you can do any of the following: ---
~1) type a URL inside the page: --- --- ##""http://www.example.com""## --- http://www.example.com --- ---
~1) add a forced link surrounding the URL by ##""[[""## and ##""]]""## (everything after the first space will be shown as description): --- --- ##""[[http://example.com/jenna/ Jenna's Home Page]]""## --- [[http://example.com/jenna/ Jenna's Home Page]] --- --- ##""[[mail@example.com Write me!]]""## --- [[mail@example.com Write me!]] --- ---
~1) add an image with a link (see instructions above);
~1) add an interwiki link (browse the [[InterWiki list of available interwiki tags]]): --- --- ##""WikiPedia:WikkaWiki""## --- WikiPedia:WikkaWiki --- --- ##""Google:CSS""## --- Google:CSS --- --- ##""Thesaurus:Happy""## --- Thesaurus:Happy --- ---
===9. Tables===
To create a table, you can use the ##table## action.
~##""{{table columns="3" cellpadding="1" cells="BIG;GREEN;FROGS;yes;yes;no;no;no;###"}}""##
~{{table columns="3" cellpadding="1" cells="BIG;GREEN;FROGS;yes;yes;no;no;no;###"}}
Note that ##""###""## must be used to indicate an empty cell.
Complex tables can also be created by embedding HTML code in a wiki page (see instructions below).
===10. Colored Text===
Colored text can be created using the ##color## action:
~##""{{color c="blue" text="This is a test."}}""##
~{{color c="blue" text="This is a test."}}
You can also use hex values:
~##""{{color hex="#DD0000" text="This is another test."}}""##
~{{color hex="#DD0000" text="This is another test."}}
Alternatively, you can specify a foreground and background color using the ##fg## and ##bg## parameters (they accept both named and hex values):
**Examples:**
~##""{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}""##
~{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}
~##""{{color fg="lightgreen" bg="black" text="This is colored text on colored background"}}""##
~{{color fg="lightgreen" bg="black" text="This is colored text on colored background"}}
===11. Floats===
===12. Code formatters===
You can easily embed code blocks in a wiki page using a simple markup. Anything within a code block is displayed literally.
To create a **generic code block** you can use the following markup:
~##""%% This is a code block %%""##.
%% This is a code block %%
To create a **code block with syntax highlighting**, you need to specify a //code formatter// (see below for a list of available code formatters).
~##""%%(""{{color c="red" text="php"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php)
echo "Hello, World!";
?>
%%
You can also specify an optional //starting line// number.
~##""%%(php;""{{color c="red" text="15"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php;15)
echo "Hello, World!";
?>
%%
If you specify a //filename//, this will be used for downloading the code.
~##""%%(php;15;""{{color c="red" text="test.php"}}"")
<?php
echo "Hello, World!";
?>
%%""##
%%(php;15;test.php)
echo "Hello, World!";
?>
%%
**List of available code formatters:**
{{table columns="6" cellpadding="1" cells="LANGUAGE;FORMATTER;LANGUAGE;FORMATTER;LANGUAGE;FORMATTER;Actionscript;actionscript;ADA;ada;Apache Log;apache;AppleScript; applescript;ASM;asm;ASP;asp;AutoIT;autoit;Bash;bash;BlitzBasic;blitzbasic;C;c;C for Macs;c_mac;c#;csharp;C++;cpp;CAD DCL;caddcl;CadLisp;cadlisp;CFDG;cfdg;ColdFusion;cfm; CSS;css;D;d;Delphi;delphi;Diff-Output;diff;DIV; div;DOS;dos;Eiffel;eiffel;Fortran;fortran;FreeBasic;freebasic;GML;gml;Groovy;groovy;HTML;html4strict;INI;ini;Inno Script;inno;Java 5;java5;Java;java;Javascript;javascript;Lisp;lisp;Lua;lua;Matlab;matlab;Microchip Assembler;mpasm;Microsoft Registry;reg;MySQL;mysql;NSIS;nsis;Objective C;objc;OpenOffice BASIC;oobas;Objective Caml;ocaml;Objective Caml (brief);ocaml-brief;Oracle 8;oracle8;Pascal;pascal;Perl;perl;PHP;php;PHP (brief);php-brief;Python;phyton;Q(uick)BASIC;qbasic;robots.txt;robots;Ruby;ruby;SAS;sas;Scheme;scheme;sdlBasic;sdlbasic;Smarty;smarty;SQL;sql;TCL/iTCL;tcl;T-SQL;tsql;Text;text;VB.NET;vbnet;VHDL;vhdl;Visual BASIC;vb;Visual Fox Pro;visualfoxpro;WinBatch;winbatch;XML;xml;###;###"}}
===13. Mindmaps===
Wikka has native support for [[Wikka:FreeMind mindmaps]]. There are two options for embedding a mindmap in a wiki page.
**Option 1:** Upload a ""FreeMind"" file to a webserver, and then place a link to it on a wikka page:
##""http://yourdomain.com/freemind/freemind.mm""##
No special formatting is necessary.
**Option 2:** Paste the ""FreeMind"" data directly into a wikka page:
~- Open a ""FreeMind"" file with a text editor.
~- Select all, and copy the data.
~- Browse to your Wikka site and paste the Freemind data into a page.
===14. Embedded HTML===
You can easily paste HTML in a wiki page by wrapping it into two sets of doublequotes.
~##""[html code]""##
**Examples:**
~##""y = xn+1""##
~""y = xn+1""
~##""CSS""##
~""CSS""
By default, some HTML tags are removed by the ""SafeHTML"" parser to protect against potentially dangerous code. The list of tags that are stripped can be found on the Wikka:SafeHTML page.
It is possible to allow //all// HTML tags to be used, see Wikka:UsingHTML for more information.
Revision [61]
Edited on 2006-12-15 02:23:16 by BaxilDragonAdditions:
======Wikka Quick Formatting Guide======
**Full documentation has been moved to FormattingRulesFull.** - BaxilDragon
**Full documentation has been moved to FormattingRulesFull.** - BaxilDragon
Deletions:
Additions:
~- Line one
~- Line two
~1) Line one
~1) Line two
~A) Line one
~A) Line two
~a) Line one
~a) Line two
~I) Line one
~I) Line two
~i) Line one
~i) Line two
==5.1. Sublists==
These are possible too. Increase the number of tildes:
**Sublist example**
##""~~- Subline one""##
~- Line one
~~- Subline one
~- Line two
- BaxilDragon
~- Line two
~1) Line one
~1) Line two
~A) Line one
~A) Line two
~a) Line one
~a) Line two
~I) Line one
~I) Line two
~i) Line one
~i) Line two
==5.1. Sublists==
These are possible too. Increase the number of tildes:
**Sublist example**
##""~~- Subline one""##
~- Line one
~~- Subline one
~- Line two
- BaxilDragon
Deletions:
- Line two
1) Line one
1) Line two
A) Line one
A) Line two
a) Line one
a) Line two
I) Line one
I) Line two
i) Line one
i) Line two