.. contents:: =================== DocBook XML Markup =================== This page shows the different features of our native DocBook support. A table of contents is automatically generated from section titles. This content, describing the DocBook syntax, is written in reST. Instances where reST cannot duplicate the same rendering produced by DocBook are flagged with **reST NOTE**. The reST parser used by Moin and the parser used by Sphinx are different. Lists ===== Itemized List ------------- **Markup:**:: Item 1 Item 2 Item 3 **Results:** * Item 1 * Item 2 * Item 3 Ordered List ------------ **Markup:**:: One Two Three Four **Results:** i. One #. Two #. Three #. Four **reST NOTE**: Should show small Roman numerals here. Simple text formatting ====================== **Markup:**:: This paragraph contains some emphasized text and a superscript and a subscript. **Results:** **This** paragraph contains *some *emphasized* text* and a \ :sup:`super`\ script and a \ :sub:`sub`\ script. Quotes ====== **Markup:**:: This software is provided as is, without express or implied warranty. **Results:** This software is provided "as is", without express or implied warranty. Trademarks and Copyrights ========================= **Markup:**:: Nutshell Handbook is a registered trademark of O'Reilly Media, Inc. 2014 Joe Doe Foo Bar is an unregistered trademark. Foo Bar is an unregistered servicemark. **Results:** Nutshell Handbook® is a registered trademark of O'Reilly Media, Inc. © 2014 Joe Doe Foo Bar™ is an unregistered trademark. Foo Bar\ :sup:`SM`\ is an unregistered servicemark. Preformatted Data ================= **Markup:**:: My preformatted data. Remove blanks from "] ] >" below: ] ] > **Results:**:: My preformatted data. Remove blanks from "] ] >" below: Links ===== **Markup:**:: MoinMoin rocks **Results:** `MoinMoin rocks `_ Tables ====== **Markup:**:: Sample Table Horizontal Span a3 a4 a5 f1 f2 f3 f4 f5 b1 b2 b3 b4 Vertical Span c1 Span Both c4 d1 d4 d5
**Results:** +-----------------+-----+----+---------------+ | Horizontal Span | a3 | a4 | a5 | +=====+===========+=====+====+===============+ | b1 | b2 | b3 | b4 | | +-----+-----------+-----+----+ Vertical Span | | c1 | | c4 | | +-----+ Span Both +----+---------------+ | d1 | | d4 | d5 | +-----+-----------+-----+----+---------------+ | f1 | f2 | f3 | f4 | f5 | +-----+-----------+-----+----+---------------+ **reST NOTE**: the table does not show the correct result. Images ====== An "inlinemediaobject" may be positioned within a paragraph and aligned to the text top, middle, or bottom through use of the align attribute. **Markup:**:: Here is an image My Logo embedded in a sentence. **Results:** Here is an image .. image:: png :height: 80 :width: 100 :scale: 50 :alt: My Logo :align: center embedded in a sentence. **Notes:** - The Sphinx parser does not have an image named "png" so the alternate text will be displayed. - **reST NOTE**: There is no facility to embed an image within a paragraph. Footnotes ========= All footnotes are placed at the bottom of the document in the order defined. **Markup:**:: An annual percentage rate (APR) of 13.9% The prime rate, as published in the Wall Street Journal on the first business day of the month, plus 7.0%. will be charged on all balances carried forward. **Results:** An annual percentage rate (APR) of 13.9% [#]_ will be charged on all balances carried forward. .. [#] The prime rate, as published in the Wall Street Journal on the first business day of the month, plus 7.0%.