c10da1ec38
1. Adds the following subsections: * Introduction to RST * Tables * Images * Profiling * Lists * Inline markups * Decorations * Commenting 2. Restructures the toc 3. Creates separate files for each subsection included in the RST-related folder for simpler maintenance. Change-Id: I08568fb37755109552edf9692b8f259660550a69
1.3 KiB
1.3 KiB
Decorations
Sometimes, the documentation build does not look perfect. To improve readability and, therefore, understanding of the content, you can use some visual decorations.
This section contains a number of bells and whistles that are neither conventions nor even recommendations, but extra features of RST markup syntax for general educational purposes.
Adding a horizontal line
You can create a horizontal line to visually separate content
elements by typing four -
(hyphen) in a row adding blank
lines before and after.
Input
Paragraph 1
----
Paragraph 2
Output
Paragraph 1
Paragraph 2
Starting a new line
Use |
(vertical bar) followed by a single white space to
start a new line.
Input
| The first line of text.
| The second line of text (new line).
| ...
Output
The first line of text.
The second line of text (new line).
...
The second line of text (new line).
...
Adding extra space between two content elements
Use |
(vertical bar) adding blank lines before and after
it to add extra space between two content elements.
Input
Paragraph 1
|
Paragraph 2
Output
Paragraph 1
Paragraph 2