All posts

Markdown Features Demo

demomarkdown

This post demonstrates the formatting features available in posts.

Code with syntax highlighting

function greet(name: string): string {
  return `Hello, ${name}!`
}

console.log(greet("world"))

Math with LaTeX

Inline math like the mass–energy equivalence E=mc2E = mc^2 renders nicely, and so do block equations:

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

Images

A scenic placeholder

Tables and lists

FeatureSupported
ImagesYes
CodeYes
MathYes

Blockquotes work too — great for highlighting a key idea.

  1. First item
  2. Second item
  3. Third item