From webglcookbook
Revision as of 08:51, 6 November 2009 by Giles (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax highlighting

Pages on this site are written using the normal MediaWiki syntax. There's one extra feature; we're using the GeSHiCodeTag extension, which means that you can get code highlighting. If you do this:

<code javascript>
function sayhello()
    alert("Hello, world");
</code> will get this:

function sayhello() {

   alert("Hello, world");


...and if you do this:

<code javascript n>
function sayhello()
    alert("Hello, world");
</code>'ll get line numbers:

function sayhello() {

   alert("Hello, world");


Normal MediaWiki syntax cheatsheet

(This is borrowed from MediaWiki Text Formatting Help - a more extended guide is at MediaWiki Help:Editing. Thanks to the Ironpython Cookbook for the pointer.)

Description You type You get
Applies anywhere
Italicise text



Bold text



Bold and italic

'''''bold & italic'''''

bold & italic

Internal link

(within Wikipedia)

[[name of page]]
[[name of page|display text]]

name of page
display text


#redirect [[Target page]]

1. redirect Target page

External link

(to other websites)

[ Dolcera]


Escape wiki markup

with ''markup''
<nowiki>without ''markup''</nowiki>

with markup
without ''markup''

Applies only at the beginning of the line

of different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Bullet list

**two point one

  • one
  • two
    • two point one
  • three
Numbered list

##two point one

  1. one
  2. two
    1. two point one
  3. three
Definition list

:item 1
:item 2
::item 2 point one
:item 3

item 1
item 2
item 2 point one
item 3
Thumbnail image

[[Image:Wiki.png|thumb|Caption text]]

Linking to an e-mail address

mailto:[email protected] or [mailto:[email protected] kirti]

mailto:[email protected] or kirti

Personal tools