PeANo

LaTeX conversion test

This is a post showcasing the capabilities of a custom pandoc script I wrote to convert LaTeX files into Markdown files for the web.

Basic Functionality

This is a normal paragraph.

This is bold text.

This is italic text.

These are “quotes”.

This is an item list:

This is an enumerated list:

  1. First enumerated item.

  2. Second enumerated item.

  3. Third enumerated item.

This is inline math: \(Ax = b\).

This is an unnumbered equation:

$$Ax = b.$$

This is a numbered equation:

$$Ax = b.$$

This is an unnumbered aligned equation:

$$\begin{aligned} A x &= b \\ C x &= d \end{aligned}$$

This is a numbered aligned equation:

$$\begin{aligned} A x &= b \\ C x &= d \end{aligned}$$

This is a figure, inserted using Hugo shortcodes:

A lovely duck.

Look, a duck!

A lovely duck.

This is a reference to FigureĀ 1{reference-type=“ref” reference=“fig:test_fig”}.

This is inline code: Pandoc.

This is Python code:

for i in range(10):
    print(i)

This is a link.

This is the video shortcode:

Extra functionality.

This is a paragraph.

And this is its content.

Theorem [Stokes]

This is a named theorem box.

Proposition [My Crazy Proposition]

This is a named proposition box.

Lemma

This is an unnamed lemma box.

Corollary

This is a corollary box.

Definition

This is a definition box without a name.

Definition [Open ball]

This is a definition with a name. Some inline math inside it: \(\mathcal{C}\). Some display math inside it: $$\int_a^b f^\prime (x) \, dx = f(b) - f(a).$$

Example

This is an example box.

Question

This is a question box.

Remark

This is a remark box.

This is a citationĀ [@acharya2023].

Testing numbered equations:

$$ \begin{equation} \int_0^\infty \frac{x^3}{e^x-1} dx = \frac{\pi^4}{15} \label{eq:test} \end{equation} $$

See Equation\ref{eq:test}.