Section author: Mike Fitzpatrick <mike.fitzpatrick@noirlab.edu>
3.6. ReStructuredText Sample¶
ReStructuredText is an extensible markup language used by Astro Data Lab.
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.6.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.6.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 code-block
directive:
print('hello world!')