Test page unix time
This is first paragraph
Following is blockquote:
Text text Quoted text
Next up code blocks. You MUST leave a blank line after “code-block” directive.
ls
mkdir $(tmpfile)
int main(void)
{
return 0;
}
You can mark inline-code with double-backticks, like int x = 0 or def func(x): return
x**2
.
Inline code doesn’t have syntax highlighting, but you can define a new role, if you want.
In Python, def main(): return 0
is equal to 0
.
Next up maths, LaTeX syntax accepted:
Inline maths equations are supported by \frac{1}{2} + 2^2 = \frac{9}{2}.
There’re many formulas for computing \pi. Y-cruncher provides two of them:
\[\frac{1}{\pi} = \frac{\sqrt{8}}{9801} \sum_{n=0}^{\infty}\frac{(4n)! (26390n + 1103)}{(n!)^4\;396^{4n}}\]
Chudnovsky formula (1987)
\[\frac{1}{\pi} = 12 \sum_{n=0}^\infty (-1)^n \frac{(6n)! (545140134n + 13591409)}{(3n)(n!)^3 (640320)^{3n+3/2}}\]
Let’s try raw html
\[\frac{1}{\pi} = 12 \sum_{n=0}^\infty (-1)^n \frac{(6n)! (545140134n + 13591409)}{(3n)(n!)^3 (640320)^{3n+3/2}}\]
Following is “aligned” math using & and \\.
\[\begin{aligned} x_1 &= \frac{1}{2}\left(2^{1/4} + \frac{1}{2^{1/4}}\right) \\ y_1 &= 2^{1/4} \\ \pi_0 &= 2 + 2^{1/2} \\ \\ x_{n+1} &= \frac{1}{2}\left(x_n^{1/2} + x_n^{-1/2}\right) \\ y_{n+1} &= \frac{y_n x_n^{1/2} + x_n^{-1/2}}{y_n + 1} \\ \pi_n &= \pi_{n-1} \left( \frac{x_n + 1}{y_n + 1} \right) \end{aligned}\]
The same one from --math-option=latex:\[\begin{aligned} x_1 &= \frac{1}{2}\left(2^{1/4} + \frac{1}{2^{1/4}}\right) \\ y_1 &= 2^{1/4} \\ \pi_0 &= 2 + 2^{1/2} \\ \\ x_{n+1} &= \frac{1}{2}\left(x_n^{1/2} + x_n^{-1/2}\right) \\ y_{n+1} &= \frac{y_n x_n^{1/2} + x_n^{-1/2}}{y_n + 1} \\ \pi_n &= \pi_{n-1} \left( \frac{x_n + 1}{y_n + 1} \right) \end{aligned}\]