VDR Wiki:The wiki markup

From VDR Wiki
Revision as of 21:12, 5 November 2009 by 65.216.252.130 (talk) (→‎Alignment)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Text formatting rules

What it look like What one type

Italic

Bold

Italic and bold

''Italic''
'''Bold'''
'''''Italic and bold'''''

You can strike out and underline words.

You can <strike>strike out</strike> 
 and <u>underline</u> words.

Sectioning

What it look like What one type

New section

Subsection

Sub-subsection

==New section==
===Subsection===
====Sub-subsection====

One single line break is ignored.

But a single empty line creates

a new break.

A line break can
be forced.

 One single '''line break'''
 is ignored.

 But a single empty line creates 

 a new break.

 A line break can<br/>be forced.

Varies sorts of lists

What it look like What one type
  • Lists are easy to do:
    • Start every line with a star.
      • More stars means deeper levels.
        • A newline in a list

marks the end of a list item.

* Lists are easy to do:
** Start every line with a star.
*** More stars means deeper levels.
**** A newline in a list
marks the end of a list item.
  1. Numbered lists are also good
    1. very organized
    2. easy to follow
# Numbered lists are also good
## very organized
## easy to follow
Definition list
list of definitions
item
the item's definition
another item
the other item's definition
; Definition list : list of definitions
; item : the item's definition
; another item
: the other item's definition
A colon indents
a line or paragraph.

A manual newline starts a new paragraph.

: A colon indents 
::a line or paragraph.
A manual newline starts a new paragraph.
  • You can even do mixed lists
    1. and nest them
      • like this
* You can even do mixed lists
*# and nest them
*#* like this


Preformatted Text

What it look like What one type
IF a line starts with a space THEN
  it will be formatted exactly 
    as typed;
  in a fixed-width font;
  lines won't wrap;
ENDIF
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code;
  * ASCII art;
  * chemical structures;

IF a line starts with a space THEN

  it will be formatted exactly 
    as typed;
  in a fixed-width font;
  lines won't wrap;
ENDIF
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code;
  * [[ASCII art]];
  * chemical structures;

Alignment

What it look like What one type
Text align: center.
<div align="center">Text align: center.</div>
Text align: right.
<div align="right">Text align: right.</div>

Miscellaneous

What it look like What one type

A horizontal line: Text before


and after.

A '''horizontal line''': Text before
----
and after.

Comments
Some text end a

'''Comments''' <br/>
Some text and a <!-- hidden comment -->

This [[wiki syntax]] is [[Ignore|ignored]]

 <nowiki>This [[wiki syntax]] is [[Ignore|ignored]]
</nowiki>