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:
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.
Note
Note text.
Warning
Warning text.
Tip
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\na/varpart/b\nprint i\n
Linking inline markup
- PEP 8
- Python Enhancement Proposal #8
- RFC 1
- Request for Comments #1
HOMEwithtry statement- Admonitions
- here
- there
- My caption of the figure
- My caption of the figure
- my table
- my table
- my ruby code
- my ruby code
- Fig. 9.1
- Fig. 9.1
- Table 9.1
- Table 9.1
- Listing 9.1
- Listing 9.1
- Including in subdir
:download:is tested in includes.txtPython -c option- This used to crash:
&option
Test abbr and another abbr.
Testing the index role, also available with explicit title.
9.5. Tables¶
| 1 |
|
x |
| 2 | Empty cells: |
| 1 | 2 |
| 3 | 4 |
Tables with multirow and multicol:
9.6. Figures¶
Fig. 9.1 My caption of the figure
My description paragraph of the figure.
Description paragraph is wraped with legend node.
Fig. 9.2 figure with align option
Fig. 9.3 figure with align & figwidth option
9.7. Version markup¶
New in version 0.6: Some funny stuff.
Changed in version 0.6: Even more funny stuff.
Deprecated since version 0.6: Boring stuff.
New in version 1.2: First paragraph of versionadded.
Changed in version 1.2: First paragraph of versionchanged.
Second paragraph of versionchanged.
9.9. Misc stuff¶
Stuff [1]
Reference lookup: [Ref1] (defined in another file). Reference lookup underscore: [Ref_1]
|
|
|
|
Side note
This is a side note.
This tests role names in uppercase.
LICENSE AGREEMENT
- Terry Pratchett
- 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_stmttry1_stmt ::= "try" ":"suite("except" [expression[","target]] ":"suite)+ ["else" ":"suite] ["finally" ":"suite] try2_stmt ::= "try" ":"suite"finally" ":"suite
9.11. Ö... Some strange characters¶
Testing öäü...