ReStructuredText Sample#

ReStructuredText is an extensible markup language used by LSST.

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.

Sectioning#

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

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!')