9. Testing various markup

9.2. Generic reST

A global substitution (the definition is in rst_epilog).

some code

Option list:

-h help
--help also help

Line block:

line1
line2
line3
line4
line5
line6
line7

9.2.1. Body directives

Title

Topic body.

Test rubric

Epigraph title

Epigraph body.

—Author

Highlights

Highlights body.

Pull-quote

Pull quote body.

a

b

with some markup inside

9.2.2. Admonitions

My Admonition

Admonition text.

Bemerkung

Note text.

Warnung

Warning text.

Tipp

Tip text.

Indirect hyperlink targets

9.3. Inline markup

Generic inline markup

Adding n to test unescaping.

  • command\n
  • dfn\n
  • guilabel with accelerator and \n
  • kbd\n
  • mailheader\n
  • makevar\n
  • manpage\n
  • mimetype\n
  • newsgroup\n
  • program\n
  • regexp\n
  • File ‣ Close\n
  • File ‣ Print
  • a/varpart/b\n
  • print i\n

Linking inline markup

Test abbr and another abbr.

Testing the index role, also available with explicit title.

9.4. With

(Empty section.)

9.5. Tables

Tab. 9.1 my table
1
  • Block elems
  • In table
x
2 Empty cells:  
Tab. 9.2 empty cell in table header
 
1 2
3 4

Tables with multirow and multicol:

9.6. Figures

_images/img.png

Abb. 9.1 My caption of the figure

My description paragraph of the figure.

Description paragraph is wraped with legend node.

_images/rimg.png

Abb. 9.2 figure with align option

_images/rimg.png

Abb. 9.3 figure with align & figwidth option

9.7. Version markup

Neu in Version 0.6: Some funny stuff.

Geändert in Version 0.6: Even more funny stuff.

Veraltet ab Version 0.6: Boring stuff.

Neu in Version 1.2: First paragraph of versionadded.

Geändert in Version 1.2: First paragraph of versionchanged.

Second paragraph of versionchanged.

9.8. Code blocks

Quellcode 9.1 my ruby code
1
2
3
def ruby?
    false
end
import sys

sys.stdout.write('hello world!\n')

9.9. Misc stuff

Stuff [1]

Reference lookup: [Ref1] (defined in another file). Reference lookup underscore: [Ref_1]

Siehe auch

something, something else, something more

Google
For everything.
  • This
  • is
  • a horizontal
  • list
  • with several
  • items

Side note

This is a side note.

This tests role names in uppercase.

LICENSE AGREEMENT

  • Terry Pratchett
        1. Tolkien
  • Monty Python
änhlich
Dinge
boson
Particle with integer spin.
fermion
Particle with half-integer spin.
tauon
myon
electron
Examples for fermions.
über
Gewisse
try_stmt  ::=  try1_stmt | try2_stmt
try1_stmt ::=  "try" ":" suite
               ("except" [expression ["," target]] ":" suite)+
               ["else" ":" suite]
               ["finally" ":" suite]
try2_stmt ::=  "try" ":" suite
               "finally" ":" suite

9.10. Index markup

Invalid index markup...

Main

9.12. Only directive

In HTML.

In both.

9.13. Any role

Test referencing to headings and objects. Also modules and classes.

More domains:

Footnotes

[1]Like footnotes.