Trail: HowToEdit

Performance Testing : HowToEdit

KnowledgeBase :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register


Text formatting on Wakka slightly differs from other Wikis. Anything between 2 sets of double quotes is ignored and presented exactly as typed. Most importantly the double qoutes enable direct use of HTML tags.

Test your formatting skills in the SandBox.

Basic formatting:
**I'm bold text!**
I'm bold text!

//I'm italicized text.//
I'm italicized text.

And I'm __underlined__!
And I'm underlined!

##monospace (10) text##
monospace 10 text


%% Embed Code Here %%
int main(int argc,char **argv)
	printf("Hello, %s!\n", (argc>1) ? argv[1] : "World");
	return 0;

//look no php code

Example embedding PHP code (Do not forget the <?php open tag if you want syntax colouring):

//look no php code

Add a book title and link to Amazon, by just supplying the ASIN (or ISBN) in the following format:

{{isbn code="0130925691"}}

Forced links:

[[ new car]]
new car


[[IO This Wiki's page on I/O]]
This Wiki's page on I/O

====== 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:
Note: you must place this at the end of the last line before the seperation (if you want to retain indentation) or the very beginning of the new line (if you want the seperator to be as wide as the whole page). Otherwise, it results in a bullet and a line-break.

Forced line break (not visible):

Indent your text using the Tab key. You can also use indented, bulleted/numbered lists:
- bulleted list
  • bulleted list
  • Line two
  • line 3

  • 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

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


    Question: How do you unwikiname a word ?
    Answer: Add two pair of double-quotes around the word.

    Question: How do you get a pair of double-quotes (without any text between them) to display properly ?
    Answer: Use the entity literal &quot;.
  • quot;"

  • Question: How does WakkaWiki know to what URL to send a visitor to if it wasn't specified ?
    Answer: The link is to a forced WikiPage. That means a link to a page in this wiki is generated.

    Question: So why does [[LALA_LELE]] send me to http://LALA_LELE ?
    Answer: The underscore breaks things. [[LALALELE]] doesn't have this problem, and results in this: [[LALALELE]]


    Note: A bug on line 142 of formatters/wakka.php causes all forms of number lists to appear as bulleted lists. You can correct this yourself by removing the space between the word "else" and the word "if" (making it read "elseif").

    Please note: due to a bug in its rendering engine, indenting using the tab key doesn't work in Mozilla (yet).

    A better fix is to simply change "\t" in lines 142 and 225 of formatters/wakka.php to "[ \t]". This will allow one (or more) spaces to stand in for the Tab character.

    The same tab issue seems to apply to IE 5.2.x running on Mac OS X 10.2.x
    -- BorisMann

    I use Opera 6.05/Win 95 and it doesn?t give me a Tab or any other character.
    Opera users can insert Tab character via Alt+NumPad9
  • -QuallianLeion

  • Wouldn't it be a good idea to provide a second way to indent? Tab seems too problematic and browser-specific to me.
    -- R.M.

    The best way to deal with this issue is to use a command line browser like lynx or links. You can then use your favorite text editor to edit wiki fields which gives you syntax highlighting, indents/tabs etc.., spell checking, search/replace etc.. Basically, writing stuff in your browser is a very stupid idea and not to be encouraged. - for more details see:

    Netscape 6.2.3 does not even work with that! If I do Alt+NumPad9 then the cursor jumps to "Store"! What do you folk think about an option to convert spaces into tabs like there is with some wikis or to allow indenting with spaces at the beginning of a line (would be the most convenient).

    I saw all forms of number lists to appear as arabic numbered lists, because of a BUG on formatters/wakka.php;144.
    Temporarily, you can solve it by editing $newIndentType to substr($newIndentType, 0, 1) on line 144.
    (Original code generates HTML like <ol type="A)">.)
    It's line 151 in wakka-0.1.2. To fix the types I suggest to change the line to:
    $newIndentType = substr($matches[2], 0, 1);


    There are no comments on this page. [Add comment]

    Page History :: 2005-11-27 02:17:17 XML :: Owner: Roland Stens :: Search:
    Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki
    Page was generated in 0.2846 seconds