Examples

Wiki syntax Examples

Basic markup

The line below this is a comment. The line above this is a comment.

This is bold text.

This is italic text.

This is strike-through text.

This text has a footnote*1.

Links

This is a WikiLink and AgeingHackerWiki is another. This is a web link to gnu.org.

This point is referred to by an anchor. You can point to it with a link like this: Examples#my-anchor or even just like this: #my-anchor.

Colours

Here is come coloured text: this is green and this is orange.

Block elements

This is a single paragraph.

And this is another paragraph.

quotation

nested quotation

twice nested quotation

This is some text.

This (a tilde at the beginning of a line) begins a new paragraph, even if I did not separate it with a newline at the beginning.

By inserting a tilde at the end of a line like here
I can force a line break.

Lists

A flat list:

A nested list:

Numbered list:

  1. a
  2. b
    1. b1
    2. b2
  3. c

Code

#include <stdio.h>
int
main ()
{
  printf ("Hello, world.\n");
  return 0;
}

Tables

Heading AHeading BHeading C
foobarquux
foo2bar2quux2
LEFT:
CENTER:
RIGHT:
BGCOLOR(...):
COLOR(...):
SIZE(...):
BOLD:
Heading AHeading BHeading C
foobarquux
foo2bar2quux2

CSV tables:

abcd,e with a comma insidef with " a double-quote character
ab==cdef

Existing syntax I do not know how to use yet

left
center
right
wrap
nowrap
around
nolink
#clear
#img(,clear)
#comment
#pcomment
#article
#vote(a,b,..)

Votes

This generates an empty table for votes, with a count of zero for every option:

#vote(a,b,c)

Each vote will trigger a page update, so that the page will look like this:

#vote(a[0],b[1],c[0])
Selection Vote
a 1  
b 6  
c 0  

References

This is a description of this wiki syntax, unfortunately only in Japanese.

Experiments

#img(): File not found:
hacker-emblem.png

#my-anchor


*1 Beautiful, isn't it?

Front page   New Page list Search Recent changes   Help   RSS of recent changes