Jun 10, 2025

Markdown & LaTeX Test Document

Just a test document with Markdown and LaTeX elements

This document is designed to test Markdown rendering with LaTeX math support. Below you'll find examples of Markdown formatting combined with inline and block mathematical notation.

1. Inline Math

Here is an inline formula using single dollar signs:

  • Euler's identity: $e^{i\pi} + 1 = 0$
  • Quadratic formula: $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$
  • Pythagoras theorem: $a^2 + b^2 = c^2$

2. Block Math

Now let's test block-level LaTeX using double dollar signs:

$$ \int_{-\infty}^{\infty} e^{-x^2} , dx = \sqrt{\pi} $$

Another block formula:

$$ f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!}x^n $$

3. Lists and Math

  • Integral: $\int_0^1 x^2 , dx = \frac{1}{3}$
  • Derivative: $\frac{d}{dx} \sin(x) = \cos(x)$
  • Matrix:

$$ \begin{pmatrix} 1 & 2 \ 3 & 4 \end{pmatrix} $$

With inline math in code: $E = mc^2$ (should not render as math here).

5. Tables

Formula NameExpression
Euler's Identity$e^{i\pi} + 1 = 0$
Taylor Series$\sum_{n=0}^{\infty} \frac{x^n}{n!}$
Binomial Theorem$(a + b)^n = \sum_{k=0}^n \binom{n}{k} a^{n-k} b^k$