Sample

October 1, 2025 · 5 min read

Sample Blog Post

This is a sample blog post content loaded from a markdown file.

Features

  • Content is stored in /public/blog/{slug}.md
  • Metadata is stored in localStorage (from JSON initially)
  • Supports full markdown syntax

Code Example

const loadBlogContent = async (slug) => {
  const response = await fetch(`/blog/${slug}.md`);
  return await response.text();
};

Math Support

You can write equations like E=mc2E = mc^2 inline or as blocks:

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

Conclusion

This system separates content from metadata, making it easier to manage blog posts.