Back to Blog

Hello World

April 29, 2026 · 1 min read

Markdown

Bold text, italic text, inline code, and a link.

A blockquote with a green left border.


Math — KaTeX

Inline: E=mc2E = mc^2

Block:

ex2dx=π\int_{-\infty}^{\infty} e^{-x^2}\, dx = \sqrt{\pi}
A=(abcd),det(A)=adbcA = \begin{pmatrix} a & b \\ c & d \end{pmatrix}, \qquad \det(A) = ad - bc

Code

import numpy as np
 
def gaussian(x: np.ndarray, mu: float = 0, sigma: float = 1) -> np.ndarray:
    return np.exp(-0.5 * ((x - mu) / sigma) ** 2) / (sigma * np.sqrt(2 * np.pi))
const greet = (name: string): string => `Hello, ${name}!`;
console.log(greet("Yuxin"));

Custom components

Tip:

Use Callout, Steps, Step, and Details components directly in any MDX file.

Show more detail

This content is hidden until the reader expands it.

  1. Write a markdown file

    Create a new .mdx file inside content/blog/.

  2. Add frontmatter

    Set title, date, summary, and tags at the top of the file.

  3. Push to GitHub

    git push triggers GitHub Actions and deploys automatically.