Back to blog

Hello Blog

An example post showcasing markdown features — headings, code, tables, images, and math equations.

Feb 22, 20262 min read
MarkdownMathDemo

#Markdown Functionality Test

This post demonstrates all the supported markdown features including math equations, code blocks, tables, and more.


#Headings

#H1 Heading

#H2 Heading

#H3 Heading

#H4 Heading

#H5 Heading
#H6 Heading

#Math Equations

#Inline Math

The quadratic formula is x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} and Euler's identity is eiπ+1=0e^{i\pi} + 1 = 0.

#Block Equations

The Gaussian integral:

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

Maxwell's equations in differential form:

E=ρε0,B=0\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}, \qquad \nabla \cdot \mathbf{B} = 0 ×E=Bt,×B=μ0J+μ0ε0Et\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}, \qquad \nabla \times \mathbf{B} = \mu_0 \mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}

Taylor series expansion of exe^x:

ex=n=0xnn!=1+x+x22!+x33!+e^x = \sum_{n=0}^{\infty} \frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots

#Emphasis

Italic text or Italic text

Bold text or Bold text

Strikethrough

YouTube


#Blockquotes

This is a blockquote.

Nested blockquote.


#Lists

#Unordered List

  • Item 1
  • Item 2
    • Subitem 1
    • Subitem 2

#Ordered List

  1. First item
  2. Second item
    1. Subitem 1
    2. Subitem 2

#Tables

FeatureSupportedNotes
Math (KaTeX)Inline and block
Code blocksSyntax highlighting
GFM TablesThis table!
Strikethroughlike this
ImagesResponsive, rounded

#Image

A cute cat


#Code Blocks

#Inline Code

Here is an example of inline code.

#Code Fences

  1. JavaScript
// JavaScript example
function greet(name) {
  return `Hello, ${name}!`;
}
console.log(greet("World"));
  1. TypeScript
interface User {
  id: number;
  name: string;
  email: string;
}

async function fetchUser(id: number): Promise<User> {
  const response = await fetch(`/api/users/${id}`);
  return response.json();
}
  1. Bash
git clone https://github.com/example/repo.git
cd repo && pnpm install && pnpm dev

That is a wrap! This post covers all the major markdown features supported by this blog.