This is my first blog post using MDX with Next.js and Bun! 🚀
MDX allows you to use JSX in your markdown content. This means you can:
Here's a simple JavaScript example:
const greeting = (name) => {
return `Hello, ${name}!`;
};
console.log(greeting("World"));
You can use custom React components directly in your MDX:
This is a custom alert component rendered inside MDX!
That's it! Happy blogging! ✨