Hello World — Testing the Blog

A test article to verify that Markdown, LaTeX math, and code highlighting work correctly.

·3 min read

Hello World

Welcome to Danisher's blog! This is a test article to verify everything works.

Math Rendering

Inline math: The quadratic formula is x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

Display math:

∫−∞∞e−x2 dx=π\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}

Code Highlighting

Here's a Python example:

python
import numpy as np

def eigenvalues(matrix):
    """Compute eigenvalues of a square matrix."""
    return np.linalg.eigvals(matrix)

A = np.array([[2, 1], [1, 3]])
print(eigenvalues(A))

And some TypeScript:

typescript
interface Article {
  title: string
  date: string
  tags: string[]
  description: string
}

function formatDate(date: string): string {
  return new Date(date).toLocaleDateString('en-US', {
    year: 'numeric',
    month: 'long',
    day: 'numeric',
  })
}

What's Next

More articles about math and computer science coming soon! 🚀