Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (70 sloc) 2.125 kb
# Docbook
## Basics
<para>This is a paragraph</para>
<keycombo>CTRL + C</keycombo>
<errortext>error parsing foo.rb</errortext>
## Code
<programlisting language="java" linenumbering="numbered">
function foo(bar){
String b = new String;
return(b = bar);
## Annotations
<para>This is a note</para>
<para>This is a tip</para>
<para>This is a warning</para>
# Commandline
<para><command>ls | head -n 2</command></para>
## Unordered Lists
<listitem><para>First item</para></listitem>
<listitem><para>Second item</para></listitem>
## Ordered List
<listitem><para>First item</para></listitem>
<listitem><para>Second item</para></listitem>
## Includes
<xi:include xmlns:xi="" href="chapter01.xml"/>
## Index
<index />
## Images
<sect1 xml:id="sec.A.cross.reference">
<title>A cross reference</title>
<para>You can easily cross reference things by referencing the XML id attribute of any element. See <xref linkend="fig.sample.image" /> to see a screenshot.</para>
<figure xml:id="fig.sample.image">
<title>A sample figure.</title>
<imagedata fileref="images/sample.png" width="4in"></imagedata>
<caption><para>A sample image</para></caption>
Jump to Line
Something went wrong with that request. Please try again.