CitiWiki
: HelpMeTextFormat
CitiWiki :: LogIn

TextFormatting



You can learn text formatting by:
Let's have fun!!

You could test your formatting skills in the SandBox.

 Table of content 



Basic Formatting


Some thing you should know!!


Bold, Italic, Underline

**Some bold text**, //some italic text//, and __some underlined text__
Some bold text, some italic text, and some underlined text

Superscript and Subscript

Nomal Text^^superscript^^, Normal Textvvsubscriptvv
Nomal Textsuperscript, Normal Textsubscript

Notes

''note''
note


Monospace Text

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


Code Box

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


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

<?php
//look no php code
?>


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.


Line Break

Forced line break (not visible):
---


Thin Line Break

- - -
gives:



Center Text

@@center text@@
center text


Indentation

Indent your text using these at the beginning of a line of text

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.


    Bypassing Text Formatting

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

    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;&quot;
    ""


    Linking




    External Links

    Just type the link directly!

    http://www.yahoo.com

    gives:

    http://www.yahoo.com


    Free Links

    Space is not allowed in free links!!

    Forced links, normally:
    [[http://www.mornography.de]]
    http://www.mornography.de

    Forced links, with a label:
    [[http://www.intoko.com/new-car.php new car]]
    new car

    Forced links, to a wiki page:
    [[XML]]
    XML

    Forced links, to a wiki page, with a label:
    [[XML This Wiki's page on XML]]
    This Wiki's page on XML


    Advanced Section


    This part contains some advanced skills


    Images

    You can insert an image by


    Colored Text

    :red:das ist roter text:red: das ist roter text
    :green:das ist gr?ext:green: das ist gr?ext
    :lightgreen:das ist hellgr?ext:lightgreen: das ist hellgr?ext
    :blue:das ist blauer text:blue: das ist blauer text
    :lightblue:das ist hellblauer text:lightblue: das ist hellblauer text
    :violet:das ist lila text:violet: das ist lila text
    :brown:das ist brauner text:brown: das ist brauner text
    :yellow:das ist gelber text:yellow: das ist gelber text
    :grey:das ist grauer text:grey: das ist grauer text
    :pink:das ist rosa text:pink: das ist rosa text
    :orange:das ist oranger text:orange: das ist oranger text

    Font Size

    It may not be too useful... but may still help in some situations:

    :1: schriftgr? :1: schriftgr?
    :2: schriftgr? :2: schriftgr?
    :3: schriftgr? :3: schriftgr?
    :4: schriftgr? :4: schriftgr?
    :5: schriftgr? :5: schriftgr?
    :6: schriftgr? :6: schriftgr?
    :7: schriftgr? :7: schriftgr?

    Hiding A Block of Content

    This may sound ridious, but it is possible to hide a block of wiki content from displaying! This can be useful sometimes...
    --> :hide: You will never see me... :hide: <--

    will appear as
    --> You will never see me... <--

    Play http://texas-holdem-online-poker.com Texas Holdem Online Poker.
    <a Texas" >http://texas-holdem-online-poker.com">Texas Holdem Online Poker</a> The best Texas Holdem on the net.
    [Texas Holdem|http://texas-holdem-online-poker.com]]
    Play [http://texas-holdem-online-poker.com Texas Holdem]] Online Poker at the best poker rooms on the net.
    Play [http://texas-holdem-online-poker.com] Texas Holdem Online Poker at the best poker rooms on the net.
    <a href="Texas" >http://texas-holdem-online-poker.com">Texas Holdem</a> Online Poker at the best poker rooms on the net.