Hello World
The first post on this blog, built with Velite and Next.js, with a few code highlighting examples.
Welcome
This is the first post on my blog. It's built with Velite and Next.js.
A link: atuandev
Code highlighting
Code blocks are highlighted with rehype-pretty-code:
function greet(name: string): string {
return `Hello, ${name}!`;
}
const message = greet("World");
console.log(message);JavaScript
const numbers = [1, 2, 3, 4, 5];
const doubled = numbers.map((n) => n * 2);
console.log(doubled); // [2, 4, 6, 8, 10]CSS
.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}What's next
I plan to write about:
- Web development
- TypeScript
- React and Next.js
