You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
168 lines
3.2 KiB
168 lines
3.2 KiB
|
|
= Kwiki Formatting Rules |
|
|
|
This page describes the particular [http://en.wikipedia.org/wiki/Wiki Wiki] markup language used by [http://www.kwiki.org/ Kwiki]. |
|
You can try it out on the dedicated KwikiSandbox page. |
|
|
|
---- |
|
|
|
= Level 1 Heading |
|
== Level 2 Heading |
|
=== Level 3 Heading |
|
==== Level 4 Heading |
|
===== Level 5 Heading |
|
====== Level 6 Heading |
|
|
|
= Level 1 Heading |
|
== Level 2 Heading |
|
=== Level 3 Heading |
|
==== Level 4 Heading |
|
===== Level 5 Heading |
|
====== Level 6 Heading |
|
|
|
---- |
|
|
|
Horizontal lines are made with 4 or more dashes: |
|
|
|
---- |
|
|
|
---- |
|
|
|
Paragraphs are separated by a blank line. |
|
|
|
Like this. Another paragraph. |
|
|
|
Paragraphs are separated by a blank line. |
|
|
|
Like this. Another paragraph. |
|
|
|
---- |
|
|
|
*Bold text*, /italic text/, _underlined text_, and -striked through text-. |
|
|
|
*Bold text*, /italic text/, _underlined text_, and -striked through text-. |
|
|
|
/*Combination of bold and italics*/ |
|
|
|
/*Combination of bold and italics*/ |
|
|
|
Inline code like [=/etc/passwd] or [=Kwiki::Theme::Basic] |
|
|
|
Inline code like [=/etc/passwd] or [=Kwiki::Theme::Basic] |
|
|
|
---- |
|
|
|
WikiLinks are formed by two or more words in /camel-case/. |
|
|
|
WikiLinks are formed by two or more words in /camel-case/. |
|
|
|
External links begin with !http://, like http://www.freepan.org |
|
|
|
External links begin with http://, like http://www.freepan.org |
|
|
|
On some cases links can appear as http://. This means that you entered an address that is not whitelisted. Wait for an admin to whitelist it. |
|
|
|
Forced wiki [links] are a alphanumeric string surrounded by square brackets. |
|
|
|
Forced wiki [links] are a alphanumeric string surrounded by square brackets. |
|
|
|
Named http links have text with an http:// link inside, like [Kwiki http://www.kwiki.org Site] |
|
|
|
Named http links have text with an http:// link inside, like [FreePAN |
|
http://www.freepan.org Site] |
|
|
|
Sometimes !WordsShouldNotMakeAWikiLink so put a '!' beforehand. |
|
|
|
Sometimes !WordsShouldNotMakeAWikiLink so put a '!' beforehand. |
|
|
|
Same thing with !http://foobar.com |
|
|
|
Same thing with !http://foobar.com |
|
|
|
Mailto links are just email addresses like foo@bar.com. |
|
|
|
Mailto links are just email addresses like foo@bar.com. |
|
|
|
---- |
|
|
|
Links to images display the image: |
|
http://www.google.com/images/logo.gif |
|
|
|
http://www.google.com/images/logo.gif |
|
|
|
---- |
|
|
|
Unordered lists begin with a '* '. The number of asterisks determines the level: |
|
|
|
* foo |
|
* bar |
|
** boom |
|
** bam |
|
* baz |
|
|
|
* foo |
|
* bar |
|
** boom |
|
** bam |
|
* baz |
|
|
|
Ordered lists begin with a '0 ' (zero): |
|
|
|
0 foo |
|
0 bar |
|
00 boom |
|
00 bam |
|
0 baz |
|
|
|
0 foo |
|
0 bar |
|
00 boom |
|
00 bam |
|
0 baz |
|
|
|
You can mix lists too: |
|
|
|
* Today: |
|
00 Eat icecream |
|
00 Buy a pony |
|
* Tomorrow: |
|
00 Eat more icecream |
|
00 Buy another pony |
|
|
|
* Today: |
|
00 Eat icecream |
|
00 Buy a pony |
|
* Tomorrow: |
|
00 Eat more icecream |
|
00 Buy another pony |
|
|
|
---- |
|
|
|
Any text that does not begin in the first column is rendered as preformatted text. |
|
|
|
foo bar |
|
x y |
|
1 2 |
|
|
|
---- |
|
|
|
Simple Tables: |
|
|
|
| | Dick | Jane | |
|
| height | 72" | 65" | |
|
| weight | 130lbs | 150lbs | |
|
|
|
| | Dick | Jane | |
|
| height | 72" | 65" | |
|
| weight | 130lbs | 150lbs | |
|
|
|
---- |
|
|
|
Inline HTML is escaped. |
|
|
|
<hr> <bold>No?</bold> <i>Yes?</i> <hr/> |
|
|
|
Renders as: <hr> <bold>No?</bold> <i>Yes?</i> <hr/> |
|
|
|
Notice the '[=/]' character in the tags is being rendered as /italic/ markers. |
|
|
|
|