kwiki-rules.wiki 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. = Kwiki Formatting Rules
  2. This page describes the particular [http://en.wikipedia.org/wiki/Wiki Wiki] markup language used by [http://www.kwiki.org/ Kwiki].
  3. You can try it out on the dedicated KwikiSandbox page.
  4. ----
  5. = Level 1 Heading
  6. == Level 2 Heading
  7. === Level 3 Heading
  8. ==== Level 4 Heading
  9. ===== Level 5 Heading
  10. ====== Level 6 Heading
  11. = Level 1 Heading
  12. == Level 2 Heading
  13. === Level 3 Heading
  14. ==== Level 4 Heading
  15. ===== Level 5 Heading
  16. ====== Level 6 Heading
  17. ----
  18. Horizontal lines are made with 4 or more dashes:
  19. ----
  20. ----
  21. Paragraphs are separated by a blank line.
  22. Like this. Another paragraph.
  23. Paragraphs are separated by a blank line.
  24. Like this. Another paragraph.
  25. ----
  26. *Bold text*, /italic text/, _underlined text_, and -striked through text-.
  27. *Bold text*, /italic text/, _underlined text_, and -striked through text-.
  28. /*Combination of bold and italics*/
  29. /*Combination of bold and italics*/
  30. Inline code like [=/etc/passwd] or [=Kwiki::Theme::Basic]
  31. Inline code like [=/etc/passwd] or [=Kwiki::Theme::Basic]
  32. ----
  33. WikiLinks are formed by two or more words in /camel-case/.
  34. WikiLinks are formed by two or more words in /camel-case/.
  35. External links begin with !http://, like http://www.freepan.org
  36. External links begin with http://, like http://www.freepan.org
  37. 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.
  38. Forced wiki [links] are a alphanumeric string surrounded by square brackets.
  39. Forced wiki [links] are a alphanumeric string surrounded by square brackets.
  40. Named http links have text with an http:// link inside, like [Kwiki http://www.kwiki.org Site]
  41. Named http links have text with an http:// link inside, like [FreePAN
  42. http://www.freepan.org Site]
  43. Sometimes !WordsShouldNotMakeAWikiLink so put a '!' beforehand.
  44. Sometimes !WordsShouldNotMakeAWikiLink so put a '!' beforehand.
  45. Same thing with !http://foobar.com
  46. Same thing with !http://foobar.com
  47. Mailto links are just email addresses like foo@bar.com.
  48. Mailto links are just email addresses like foo@bar.com.
  49. ----
  50. Links to images display the image:
  51. http://www.google.com/images/logo.gif
  52. http://www.google.com/images/logo.gif
  53. ----
  54. Unordered lists begin with a '* '. The number of asterisks determines the level:
  55. * foo
  56. * bar
  57. ** boom
  58. ** bam
  59. * baz
  60. * foo
  61. * bar
  62. ** boom
  63. ** bam
  64. * baz
  65. Ordered lists begin with a '0 ' (zero):
  66. 0 foo
  67. 0 bar
  68. 00 boom
  69. 00 bam
  70. 0 baz
  71. 0 foo
  72. 0 bar
  73. 00 boom
  74. 00 bam
  75. 0 baz
  76. You can mix lists too:
  77. * Today:
  78. 00 Eat icecream
  79. 00 Buy a pony
  80. * Tomorrow:
  81. 00 Eat more icecream
  82. 00 Buy another pony
  83. * Today:
  84. 00 Eat icecream
  85. 00 Buy a pony
  86. * Tomorrow:
  87. 00 Eat more icecream
  88. 00 Buy another pony
  89. ----
  90. Any text that does not begin in the first column is rendered as preformatted text.
  91. foo bar
  92. x y
  93. 1 2
  94. ----
  95. Simple Tables:
  96. | | Dick | Jane |
  97. | height | 72" | 65" |
  98. | weight | 130lbs | 150lbs |
  99. | | Dick | Jane |
  100. | height | 72" | 65" |
  101. | weight | 130lbs | 150lbs |
  102. ----
  103. Inline HTML is escaped.
  104. <hr> <bold>No?</bold> <i>Yes?</i> <hr/>
  105. Renders as: <hr> <bold>No?</bold> <i>Yes?</i> <hr/>
  106. Notice the '[=/]' character in the tags is being rendered as /italic/ markers.