panache-parser 0.5.1

Lossless CST parser and syntax wrappers for Pandoc markdown, Quarto, and RMarkdown
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# RMarkdown Math Test

RMarkdown uses backslash delimiters for math by default.

Inline math with backslash-parentheses: \(x^2 + y^2 = z^2\) in text.

Display math with backslash-brackets:

\[
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
\]

More inline math: \(\alpha + \beta = \gamma\) and another \(f(x) = ax^2 + bx + c\).

Here's one that starts the math on the first line:

\[ e = mc^2
\]