Additional RST Components¶
H2 text¶
H3 text¶
H4 text¶
H5 text¶
H6 text¶
Adding text¶
This is a sample text: normal, italic, bold, verbatim
Adding code¶
#!/usr/bin/env python3
import os
import sys
#!/usr/bin/env bash
make clean
make html
Adding table¶
Header 1 |
Header 2 |
Header 3 |
|---|---|---|
body row 1 |
column 2 |
column 3 |
body row 2 |
Cells may span columns. |
|
Inputs |
Output |
|
|---|---|---|
A |
B |
A or B |
False |
False |
False |
True |
False |
True |
Adding note¶
See also
This is a see also text.
Note
This is note text. Use a note for information you want the user to pay particular attention to.
If note text runs over a line, make sure the lines wrap and are indented to the same level as the note tag. If formatting is incorrect, part of the note might not render in the HTML output.
Notes can have more than one paragraph. Successive paragraphs must indent to the same level as the rest of the note.
Warning
This is warning text. Use a warning for information the user must understand to avoid negative consequences.
Warnings are formatted in the same way as notes. In the same way, lines must be broken and indented under the warning tag.