Heading is bold, larger font-size style has been applied. And heading takes a lot of margin in order to stand out.
Paragraphs consist of blocks of left-aligned text with no markup indicating any other body element. Blank lines separate paragraphs from each other and from other body elements.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Strong: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
Emphasis: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
Header row, column 1 (header rows optional) | Header 2 | Header 3 | Header 4 |
---|---|---|---|
body row 1, column 1 | column 2 | column 3 | column 4 |
body row 2 | ... | ... | |
body row 3 | ... | ... |
There are two image directives: “image” and “figure”.
An “image” is a simple picture.
The URI for the image source file is specified in the directive argument. As with hyperlink targets, the image URI may begin on the same line as the explicit markup start and target name, or it may begin in an indented text block immediately following, with no intervening blank lines. If there are multiple lines in the link block, they are stripped of leading and trailing whitespace and joined together.
A “figure” consists of image data (including image options), an optional caption (a single paragraph), and an optional legend (arbitrary body elements). For page-based output media, figures might float to a different position if this helps the page layout.
import sys
def fact(x):
if x == 0:
return 1
else:
return x * fact(x-1)
Admonitions are specially marked “topics” that can appear anywhere an ordinary body element can. They contain arbitrary body elements.
Attention
This is sample of “Attention” admonition directive.
Caution
This is sample of “Caution” admonition directive.
Danger
This is sample of “Danger” admonition directive.
Error
This is sample of “Error” admonition directive.
Error
This is sample of “Hint” admonition directive.
Important
This is sample of “Important” admonition directive.
Note
This is sample of “Note” admonition directive.
Tip
This is sample of “Tip” admonition directive.
Warning
This is sample of “Warning” admonition directive.