Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 910 Bytes

example.rst

File metadata and controls

62 lines (38 loc) · 910 Bytes

reStructuredText examples

Text sample

This is emphasis, strong, and literal.

We also have subscript and superscript.

Nested bulleted and numbered lists:

  • Line
  • Line
    • Line
    • Line
  • Line
  1. Line
  2. Line
  3. Line
Definition of a term:
This is a real definition.

Let's do some quoted text:

Miert a kolostorban keressuk a kurvat?

Here is some block code:

if (x) {
  halt();
}

if (halt(P)) run();

End of section.

Math sample

\int_{a}^{b} f\,dx

Inline math: a^2 + b^2 = c^2.

Block math:

\begin{aligned}
\dot{x} &=  \sigma(y-x) \\
\dot{y} &= \rho x - y - xz \\
\dot{z} &= -\beta z + xy
\end{aligned}

Configuring math: http://sphinx-doc.org/ext/math.html#module-sphinx.ext.mathjax

Using math: http://sphinx-doc.org/latest/ext/math.html