3.8. ReStructuredText Sample

ReStructuredText is an extensible markup language used by DataLab.

ReStructuredText provides basic italic, bold and monospaced typesetting. There is also the concept of roles that provide sophisticated typesetting, such as \(\mu = -2.5 \log_{10}(\mathrm{DN} / A) + m_0\), and referencing.

3.8.1. Sectioning

Sections are formed with underlining the headline text. We use a conventional sequence of underline symbols to indicate different levels of hierarchy.

3.8.2. Directives

Besides roles that are used for inline markup, reStructuredText has the concept of directives to markup blocks of content. One example is the is the code-block directive:

print('hello world!')