AgeingHackerWiki

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 is underlined.

This text has a footnote*1.

Links

This is a WikiLink and AgeingHackerWiki is another. This is a web link to gnu.org. This is a link with the URL shown: filegnu.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:

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.

How to make a “definition”:

term
definition

Alignment:

this text is centered
this text is right-aligned
this text is left-aligned

Horizontal rule:


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

Images

Image as an attachment: hacker-emblem.png

External image as a URL:

hacker-emblem.png

Existing syntax I do not know how to use yet

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

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 1  

References

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

This document in English on the pukiwiki development site is good; you can see the source by clicking “編集” which must mean “edit”.

The “syntax examples” on this summary on wikimatrix.org are useful, even if the page seems outdated: some features listed as unsupported exist, without needing any plugin.

Experiments


*1 Beautiful, isn't it?

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