Ch4 editing

From Ribbon Commander Documentation
Revision as of 15:05, 9 December 2012 by Rxdff15551 bb53 (Talk | contribs) (Code Highlighting)

Jump to: navigation, search

Jump to Main Page

All about wikis

The MediaWiki edit page has many interesting features.

Read on to learn them.

A button bar

The button bar contains buttons that are helpful for typesetting your text. Try clicking a few of them.

The edit box

The edit box is where you type your wikitext.

Test Area

This paragraph will be indented. The colon is placed only in the first line.
Very far indented indeed!

Pre-formatted

function dog_catcher($name, $truck) {
...
}

With tag pre

function dog_catcher($name, $truck) {
...
}

Bold, italics etc.

this is italics

this is bold

this is bold italics

these italics will end here and not continue on this second line

This is underlined text.

This is monospaced

Size, colour etc.

Here's some large text and some little words

Here is red text

Here is big text

Here is green text

Paragraph formatting

Here is a long paragraph in purple, blah blah blah...


Images

Dynamic RibbonX logo


Lists

Bulleted Lists

  • Dog
  • Cat
  • Cute little bird
    Tweet
    Tweet
  • This is a bulleted item
  • Here is another!
    • This is a level 2 bullet
      • Here is a level 3 bullet
    • Now we're back at level 2
  • And now back at level 1
  • My favorite dogs are:
    • Fido
    • Spike
      (My neighbour's dog)
    • Rover

Pre-formatted text in bulleted list

  • First item
    • Nested item
    here's the preformatted text
    • Another nested item

Numbered Lists

  1. Dog
  2. Cat
  3. Cute little bird
  1. This is a numbered item
  2. Here is another!
    1. This is a level 2 item
      1. Here is a level 3 item
    2. Now we're back at level 2
  3. And now back at level 1
  1. My favourite dogs are:
    1. Fido
    2. Spike
      (My neighbour's dog)
    3. Rover

Using HTML

  1. First item
  2. Second item
    1. First subitem
    2.    This inserted text will not break the numbering,
         and nor will this image:
         Collage 6 2.png
      
    3. Second subitem
  3. Third item

Definition Lists

Dog
A cuddly canine
Cat
A furry feline

Equivalently

Dog
A cuddly canine
Cat
A furry feline
Dog
A cuddly canine

WOOF WOOF

Man's best friend

Combining List Types

  • Bullet one
  • Bullet two
    1. Numbered item 1
    2. Numbered item 2
    3. Numbered item 3
  • Bullet three


  1. Numbered item one
  2. Numbered item two
    • Bullet 1
    • Bullet 2
    • Bullet 3
  3. Numbered item three
  1. Numbered item one
  2. Numbered item two
    Term
    Definition
  3. Numbered item three


Term 1
Definition 1
  1. Numbered item 1
  2. Numbered item 2
    1. Numbered subitem 1
      A preformatted text box in subitem 1
    2. Numbered subitem 2
Definition 1 continued
Term 2
Definition 2

Tables

dog woof
cat mew
bird tweet

Equivalently

dog woof
cat meow
bird tweet


dog woof
cat meow
bird tweet

Table Headings

Animal Sound
dog woof
cat meow
bird tweet

Captions

Animals and Their Sounds
Animal Sound
dog woof
cat meow
bird tweet


Code Highlighting

Public Sub MySub()
    Dim i As Integer
    For i = 1 to 100
        Debug.Print i
    Next i
End Sub


  1. int MyFunc(const std::wstring &name) {
  2.     if ( name == "Yiannis" ) {
  3.         return 0;
  4.     }
  5.     else {
  6.         return 1;
  7.     }
  8. }

For more information

See "MediaWiki" from O'Reilly Media for more details.