English Persian
Chapter 7. Rosetta Stone
Rosetta Stone
Comparison between Docbook and AsciiDoc
This rosetta stone tries to show the differences between Docbook and AsciiDoc.
Comparision between Docbook and AsciiDoc
|Language Feature |Docbook | AsciiDoc

|*Bold*
|<strong>bold</strong>
|\*bold*

|*Italic*
|<emphasis>Italic</emphasis>
|\_Italic_

|*Monospace*
|<literal>Monospace</literal>
|\`Monospace`

|*Paragraph*
|<para>This is a paragraph</para>
|This is a paragraph

|*Keycap*
|<keycap>F11</keycap>
|\kbd:[F11]

|*Links*
a|
----
<link xlink:href="https://www.freebsd.org/where/">Download FreeBSD</link>
----
a|
link:https://www.freebsd.org/where/[Download FreeBSD]
----
|*Sections* a|
<sect1 xml:id="id">
<title>Section 1</title>
</sect1>
----
Section 1
|*Unordered list* a|
<itemizedlist>
<listitem>
<para>When to build a custom kernel.</para>
</listitem>

<listitem>
<para>How to take a hardware inventory.</para>
</listitem>
</itemizedlist>
----
When to build a custom kernel.
How to take a hardware inventory.
----
|*Ordered list* a|
<orderedlist>
<listitem>
<para>One</para>
</listitem>
<listitem>
<para>Two</para>
</listitem>
<listitem>
<para>Three</para>
</listitem>
<listitem>
<para>Four</para>
</listitem>
</orderedlist>
----
One