Hello World: My First Blog Post

· 1 min read
intro demo

Welcome to my blog! This is my first post, and I’ll use it to demonstrate the various media embeds this site supports.

Images

You can embed images using standard markdown syntax:

A placeholder image

GIFs

GIFs work with a standard <img> tag for full control:

Coding GIF

YouTube Videos

Embed YouTube videos using the astro-embed component:

Play

Video Files

You can also embed self-hosted video files directly:

Code Blocks

And of course, syntax-highlighted code:

function greet(name: string): string {
  return `Hello, ${name}! Welcome to the blog.`;
}

console.log(greet('World'));

That’s it for the demo. Stay tuned for more posts!