2. Examples

2.1. Inline elements

You might want to emphasise your text.

I like using emacs to edit /etc/passwd.

2.1.1. Links

An internal link to the feedback section. It goes by the `id' attribute.

A special internal link to Section 2. It works out the section number itself.

An external link to sourceforge.net/projects/newbiedoc/

2.2. Block elements

 

To be or not to be, that is the question.

 
--Hamlet 

To show a command line:

$ emacs /etc/passwd

To show a command's output:

$ ps afx
 PID TTY      STAT   TIME COMMAND
 5790 ?        S      1:41 /usr/sbin/xinetd
25445 ?        S      0:00  \_ in.telnetd: wdt
25446 pts/0    S      0:00      \_ -tcsh
25878 pts/0    T      0:00          \_ vi runlevels-intro.wml
26045 pts/0    R      0:00          \_ ps afx

To show the listing of a program or script:

1 #include <stdio.h>
2 
3 int main(void)
4 {
5         printf("Hello\n");
6         return 0;
7 }

Example 1. An example

Anything can go here, screen, programlisting, whatever.

2.3. Lists

  1. Step one

  2. Step two

  3. Step three