Welcome to My Blog

Engineering122 words1 min read
  • #nextjs
  • #mdx
  • #tailwind

概要

A quick test post to verify local MDX, frontmatter parsing, and syntax highlighting.

This is a sample MDX post used to validate the Step 2 blog engine.

This is a h1 title

Why this file exists

It helps us verify:

  • Frontmatter parsing (title, date, description, tags)
  • Slug generation from the file name
  • Markdown rendering and highlighted code blocks in Step 4
type BlogPost = {
  title: string;
  date: string;
  tags: string[];
};
 
const post: BlogPost = {
  title: "Welcome to My Blog",
  date: "2026-02-18",
  tags: ["nextjs", "mdx", "tailwind"],
};
 
console.log(post.title);
#include <stdio.h>
 
int main(){
  printf("hello world");
  return 0;
}

this is a h3 title

helloooooo

this is a h4 title

this is a h5 title
import numpy as np
 
print("hello world")
 

Comments

Powered by GitHub Discussions via Giscus.