My new website!
Welcome to my new blog! This is the first post on my freshly built website using SvelteKit 5 and mdsvex for markdown content.
Why SvelteKit?
SvelteKit offers a fantastic developer experience with minimal JavaScript overhead. The combination of:
- Static prerendering for fast page loads
- View transitions for smooth navigation
- mdsvex for writing posts in markdown
Makes it an ideal choice for a personal blog.
Code Highlighting
Here’s an example of syntax highlighting with Shiki:
function greet(name: string): string {
return `Hello, ${name}!`;
}
console.log(greet('World')); And some JavaScript:
const thoughts = await getThoughts();
const sorted = thoughts.sort((a, b) => new Date(b.date) - new Date(a.date)); What’s Next
I’ll be writing about web development, software engineering, and whatever else comes to mind. Stay tuned!